diff options
author | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-06-19 15:00:51 -0400 |
---|---|---|
committer | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-06-21 19:19:55 -0400 |
commit | 5c05cf220619b9203fa0282b683c8fff3d73dcbf (patch) | |
tree | 980cad8fe19a1cb84d35959db85387a5fccd0f5f | |
parent | d4e544c62caaf18c797cafc5900ce019f2d71536 (diff) | |
download | PrismLauncher-5c05cf220619b9203fa0282b683c8fff3d73dcbf.tar.gz PrismLauncher-5c05cf220619b9203fa0282b683c8fff3d73dcbf.tar.bz2 PrismLauncher-5c05cf220619b9203fa0282b683c8fff3d73dcbf.zip |
Disable launch actions in menu bar when last instance is deleted
This caused a crash when the action was selected!
-rw-r--r-- | launcher/ui/MainWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index ebd86228..cceeb288 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -2183,6 +2183,7 @@ void MainWindow::selectionBad() statusBar()->clearMessage(); ui->instanceToolBar->setEnabled(false); ui->setInstanceActionsEnabled(false); + updateToolsMenu(); ui->renameButton->setText(tr("Rename Instance")); updateInstanceToolIcon("grass"); |