aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ecp5
diff options
context:
space:
mode:
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;