From 61bce47f3cb7b4adf1d5292b3c431ca4048ad038 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 8 Aug 2018 20:14:18 +0200 Subject: Use settings for json and pcf --- gui/ice40/mainwindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/ice40') 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 { -- cgit v1.2.3