diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-05 18:02:33 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-08-05 18:02:33 +0200 |
commit | 9510c444c93fdb8923d77651562fb698e59dea5f (patch) | |
tree | cfe3d10b4356e081a3e50750d15332dfd1f7daaa /gui/ice40/mainwindow.h | |
parent | 7794bbfb3fbd488ee84231642c79ebbfa8eb8bb3 (diff) | |
download | nextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.tar.gz nextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.tar.bz2 nextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.zip |
Disable menu options on json load
Diffstat (limited to 'gui/ice40/mainwindow.h')
-rw-r--r-- | gui/ice40/mainwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h index 829375e2..c235f0a4 100644 --- a/gui/ice40/mainwindow.h +++ b/gui/ice40/mainwindow.h @@ -34,9 +34,10 @@ class MainWindow : public BaseMainWindow public:
void createMenu();
- void load_pcf(std::string filename);
protected:
+ void load_pcf(std::string filename);
+
void onDisableActions() override;
void onJsonLoaded() override;
void onRouteFinished() override;
|