mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +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())
|
if (gs.gpu_widescreen_hack.has_value())
|
||||||
{
|
{
|
||||||
QSignalBlocker sb(m_ui.userControllerType2);
|
QSignalBlocker sb(m_ui.userWidescreenHack);
|
||||||
m_ui.userWidescreenHack->setCheckState(Qt::Checked);
|
m_ui.userWidescreenHack->setCheckState(gs.gpu_widescreen_hack.value() ? Qt::Checked : Qt::Unchecked);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QSignalBlocker sb(m_ui.userControllerType2);
|
QSignalBlocker sb(m_ui.userWidescreenHack);
|
||||||
m_ui.userWidescreenHack->setCheckState(Qt::PartiallyChecked);
|
m_ui.userWidescreenHack->setCheckState(Qt::PartiallyChecked);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue