aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/ecp5/mainwindow.h1
-rw-r--r--gui/ice40/mainwindow.cc2
2 files changed, 1 insertions, 2 deletions
diff --git a/gui/ecp5/mainwindow.h b/gui/ecp5/mainwindow.h
index aa1af17b..f85c2abc 100644
--- a/gui/ecp5/mainwindow.h
+++ b/gui/ecp5/mainwindow.h
@@ -52,7 +52,6 @@ class MainWindow : public BaseMainWindow
ArchArgs chipArgs;
- std::string currentProj;
std::string currentBaseConfig;
};
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc
index 35ad5768..bf6e4b4c 100644
--- a/gui/ice40/mainwindow.cc
+++ b/gui/ice40/mainwindow.cc
@@ -150,7 +150,7 @@ void MainWindow::load_pcf(std::string filename)
disableActions();
currentPCF = filename;
std::ifstream f(filename);
- if (apply_pcf(ctx.get(), f)) {
+ if (apply_pcf(ctx.get(), filename, f)) {
log("Loading PCF successful.\n");
actionPack->setEnabled(true);
} else {