aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-14 10:07:59 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-14 10:07:59 +0200
commit053bd48bef73668e5c7bdf84e826a996a519c5bb (patch)
treee5fbe9699c76c2e27883cc8105817fccdab35504 /gui/ice40
parent36ccc22fc93eddd9b6ed867782668b0057ec67e2 (diff)
downloadnextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.gz
nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.bz2
nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.zip
Cleanup
Diffstat (limited to 'gui/ice40')
-rw-r--r--gui/ice40/mainwindow.cc6
-rw-r--r--gui/ice40/mainwindow.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc
index f270b112..b766734f 100644
--- a/gui/ice40/mainwindow.cc
+++ b/gui/ice40/mainwindow.cc
@@ -189,10 +189,4 @@ void MainWindow::onDisableActions()
void MainWindow::onJsonLoaded() { actionLoadPCF->setEnabled(true); }
void MainWindow::onRouteFinished() { actionSaveAsc->setEnabled(true); }
-void MainWindow::onProjectLoaded()
-{
- if (ctx->settings.find(ctx->id("input/pcf")) != ctx->settings.end())
- actionLoadPCF->setEnabled(false);
-}
-
NEXTPNR_NAMESPACE_END
diff --git a/gui/ice40/mainwindow.h b/gui/ice40/mainwindow.h
index 4a9a7d8e..de160174 100644
--- a/gui/ice40/mainwindow.h
+++ b/gui/ice40/mainwindow.h
@@ -41,7 +41,6 @@ class MainWindow : public BaseMainWindow
void onDisableActions() override;
void onJsonLoaded() override;
void onRouteFinished() override;
- void onProjectLoaded() override;
protected Q_SLOTS:
void new_proj() override;