aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-09-04 17:14:30 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2020-09-04 17:14:30 +0200
commit717bcfa19eb6d6351c471b657312097ad1261da5 (patch)
tree10c99d2475700e3e98010c8bb50009cfa69a5e2e /gui/ice40
parent4512a9de19751916c466ed12a2ba4dce958d77bc (diff)
downloadnextpnr-717bcfa19eb6d6351c471b657312097ad1261da5.tar.gz
nextpnr-717bcfa19eb6d6351c471b657312097ad1261da5.tar.bz2
nextpnr-717bcfa19eb6d6351c471b657312097ad1261da5.zip
Preserve cmd parameters when loading json from GUI
Diffstat (limited to 'gui/ice40')
-rw-r--r--gui/ice40/mainwindow.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc
index 3c9cab1f..f251fd28 100644
--- a/gui/ice40/mainwindow.cc
+++ b/gui/ice40/mainwindow.cc
@@ -114,6 +114,7 @@ void MainWindow::new_proj()
QString package = QInputDialog::getItem(this, "Select package", "Package:", packages, 0, false, &ok);
if (ok && !item.isEmpty()) {
+ handler->clear();
currentProj = "";
disableActions();
chipArgs.package = package.toStdString().c_str();