aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40/mainwindow.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-27 12:00:37 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-27 12:00:37 +0200
commit87a5b7212667daa55a72f62c35cc248bdce2c744 (patch)
treecd541aeba55bbc67e1a935bb00b7669a9eed0d32 /gui/ice40/mainwindow.cc
parent2cc7ade05b52b89186f5210c97ebbc61aa5c166d (diff)
parentbafb4702c7176a08e4a9b2088297071a7bed6656 (diff)
downloadnextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.tar.gz
nextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.tar.bz2
nextpnr-87a5b7212667daa55a72f62c35cc248bdce2c744.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr
Diffstat (limited to 'gui/ice40/mainwindow.cc')
-rw-r--r--gui/ice40/mainwindow.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc
index 32074adc..2563a767 100644
--- a/gui/ice40/mainwindow.cc
+++ b/gui/ice40/mainwindow.cc
@@ -260,6 +260,9 @@ void MainWindow::disableActions()
actionPlay->setEnabled(false);
actionPause->setEnabled(false);
actionStop->setEnabled(false);
+
+ actionNew->setEnabled(true);
+ actionOpen->setEnabled(true);
}
void MainWindow::loadfile_finished(bool status)
@@ -349,6 +352,9 @@ void MainWindow::taskStarted()
disableActions();
actionPause->setEnabled(true);
actionStop->setEnabled(true);
+
+ actionNew->setEnabled(false);
+ actionOpen->setEnabled(false);
}
void MainWindow::taskPaused()
@@ -356,6 +362,9 @@ void MainWindow::taskPaused()
disableActions();
actionPlay->setEnabled(true);
actionStop->setEnabled(true);
+
+ actionNew->setEnabled(false);
+ actionOpen->setEnabled(false);
}
void MainWindow::budget()