aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ecp5
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/ecp5
parent36ccc22fc93eddd9b6ed867782668b0057ec67e2 (diff)
downloadnextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.gz
nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.bz2
nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.zip
Cleanup
Diffstat (limited to 'gui/ecp5')
-rw-r--r--gui/ecp5/mainwindow.cc6
-rw-r--r--gui/ecp5/mainwindow.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/gui/ecp5/mainwindow.cc b/gui/ecp5/mainwindow.cc
index c6c7bc97..a54ab8b5 100644
--- a/gui/ecp5/mainwindow.cc
+++ b/gui/ecp5/mainwindow.cc
@@ -192,10 +192,4 @@ void MainWindow::onJsonLoaded() { actionLoadLPF->setEnabled(true); }
void MainWindow::onRouteFinished() { actionLoadBase->setEnabled(true); }
-void MainWindow::onProjectLoaded()
-{
- if (ctx->settings.find(ctx->id("input/lpf")) != ctx->settings.end())
- actionLoadLPF->setEnabled(false);
-}
-
NEXTPNR_NAMESPACE_END
diff --git a/gui/ecp5/mainwindow.h b/gui/ecp5/mainwindow.h
index 721c6c0b..186a7974 100644
--- a/gui/ecp5/mainwindow.h
+++ b/gui/ecp5/mainwindow.h
@@ -40,7 +40,6 @@ class MainWindow : public BaseMainWindow
void onDisableActions() override;
void onJsonLoaded() override;
void onRouteFinished() override;
- void onProjectLoaded() override;
protected Q_SLOTS:
void new_proj() override;