diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 10:07:59 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 10:07:59 +0200 |
commit | 053bd48bef73668e5c7bdf84e826a996a519c5bb (patch) | |
tree | e5fbe9699c76c2e27883cc8105817fccdab35504 /gui/ecp5 | |
parent | 36ccc22fc93eddd9b6ed867782668b0057ec67e2 (diff) | |
download | nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.gz nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.tar.bz2 nextpnr-053bd48bef73668e5c7bdf84e826a996a519c5bb.zip |
Cleanup
Diffstat (limited to 'gui/ecp5')
-rw-r--r-- | gui/ecp5/mainwindow.cc | 6 | ||||
-rw-r--r-- | gui/ecp5/mainwindow.h | 1 |
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;
|