mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
Qt/GameProperties: Disable all fields when code is missing
This commit is contained in:
parent
61b057929e
commit
4c9cdbb147
|
@ -57,9 +57,13 @@ void GamePropertiesDialog::populate(const GameListEntry* ge)
|
||||||
if (ge->code.empty())
|
if (ge->code.empty())
|
||||||
{
|
{
|
||||||
// can't fill in info without a code
|
// can't fill in info without a code
|
||||||
|
m_ui.gameCode->setDisabled(true);
|
||||||
m_ui.compatibility->setDisabled(true);
|
m_ui.compatibility->setDisabled(true);
|
||||||
m_ui.upscalingIssues->setDisabled(true);
|
m_ui.upscalingIssues->setDisabled(true);
|
||||||
|
m_ui.comments->setDisabled(true);
|
||||||
m_ui.versionTested->setDisabled(true);
|
m_ui.versionTested->setDisabled(true);
|
||||||
|
m_ui.setToCurrent->setDisabled(true);
|
||||||
|
m_ui.verifyDump->setDisabled(true);
|
||||||
m_ui.exportCompatibilityInfo->setDisabled(true);
|
m_ui.exportCompatibilityInfo->setDisabled(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue