Disable launch actions in menu bar when last instance is deleted
This caused a crash when the action was selected!
This commit is contained in:
parent
d4e544c62c
commit
5c05cf2206
@ -2183,6 +2183,7 @@ void MainWindow::selectionBad()
|
|||||||
statusBar()->clearMessage();
|
statusBar()->clearMessage();
|
||||||
ui->instanceToolBar->setEnabled(false);
|
ui->instanceToolBar->setEnabled(false);
|
||||||
ui->setInstanceActionsEnabled(false);
|
ui->setInstanceActionsEnabled(false);
|
||||||
|
updateToolsMenu();
|
||||||
ui->renameButton->setText(tr("Rename Instance"));
|
ui->renameButton->setText(tr("Rename Instance"));
|
||||||
updateInstanceToolIcon("grass");
|
updateInstanceToolIcon("grass");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user