disable 'Enable cheats' until something is loaded, to make it consistent with 'Manage cheats'
Some checks are pending
macOS / ${{ matrix.arch }} (arm64) (push) Waiting to run
macOS / ${{ matrix.arch }} (x86_64) (push) Waiting to run
macOS / Universal binary (push) Blocked by required conditions
Ubuntu / x86_64 (push) Waiting to run
Ubuntu / aarch64 (push) Waiting to run
Windows / build (push) Waiting to run

This commit is contained in:
Arisotura 2024-10-31 13:57:53 +01:00
parent 6dc396741f
commit 540ebe7256

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);