actually use new function to disable ui

This commit is contained in:
garak
2020-08-03 19:28:26 -04:00
parent 2c6d8f3d8d
commit 55bd16db40

View File

@@ -87,8 +87,7 @@ void MainWindow::initWindow() {
this->initMapSortOrder();
this->restoreWindowState();
setDisabled(true);
ui->menuFile->setDisabled(false);
setWindowDisabled(true);
}
void MainWindow::initExtraShortcuts() {
@@ -388,7 +387,7 @@ bool MainWindow::openProject(QString dir) {
Scripting::cb_ProjectOpened(dir);
}
setDisabled(false);
setWindowDisabled(false);
return success;
}