disable 'Enable cheats' until something is loaded, to make it consistent with 'Manage cheats'

This commit is contained in:
Arisotura 2024-10-31 13:57:53 +01:00
parent 6dc396741f
commit 540ebe7256
1 changed files with 2 additions and 0 deletions

View File

@ -726,6 +726,7 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
actDateTime->setEnabled(true);
actPowerManagement->setEnabled(false);
actEnableCheats->setEnabled(false);
actSetupCheats->setEnabled(false);
actTitleManager->setEnabled(!globalCfg.GetString("DSi.NANDPath").empty());
@ -1274,6 +1275,7 @@ void MainWindow::updateCartInserted(bool gba)
win->actCurrentCart->setText(label);
win->actEjectCart->setEnabled(inserted);
win->actImportSavefile->setEnabled(inserted);
win->actEnableCheats->setEnabled(inserted);
win->actSetupCheats->setEnabled(inserted);
win->actROMInfo->setEnabled(inserted);
win->actRAMInfo->setEnabled(inserted);