From 032127a7d6a8ba5664c19eb95d3935e865a663fe Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 24 Aug 2020 00:49:40 +1000 Subject: [PATCH] Qt: Fix widescreen hack value for game settings Also fixes an .ini entry being created on right click->properties. --- src/duckstation-qt/gamepropertiesdialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/duckstation-qt/gamepropertiesdialog.cpp b/src/duckstation-qt/gamepropertiesdialog.cpp index f72fe4bed..2b76d6298 100644 --- a/src/duckstation-qt/gamepropertiesdialog.cpp +++ b/src/duckstation-qt/gamepropertiesdialog.cpp @@ -242,12 +242,12 @@ void GamePropertiesDialog::populateGameSettings() } if (gs.gpu_widescreen_hack.has_value()) { - QSignalBlocker sb(m_ui.userControllerType2); - m_ui.userWidescreenHack->setCheckState(Qt::Checked); + QSignalBlocker sb(m_ui.userWidescreenHack); + m_ui.userWidescreenHack->setCheckState(gs.gpu_widescreen_hack.value() ? Qt::Checked : Qt::Unchecked); } else { - QSignalBlocker sb(m_ui.userControllerType2); + QSignalBlocker sb(m_ui.userWidescreenHack); m_ui.userWidescreenHack->setCheckState(Qt::PartiallyChecked); } }