mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Qt: Fix widescreen hack value for game settings
Also fixes an .ini entry being created on right click->properties.
This commit is contained in:
parent
784f4f7654
commit
032127a7d6
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue