aboutsummaryrefslogtreecommitdiffstats
path: root/common/command.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-08-05 18:02:33 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-08-05 18:02:33 +0200
commit9510c444c93fdb8923d77651562fb698e59dea5f (patch)
treecfe3d10b4356e081a3e50750d15332dfd1f7daaa /common/command.cc
parent7794bbfb3fbd488ee84231642c79ebbfa8eb8bb3 (diff)
downloadnextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.tar.gz
nextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.tar.bz2
nextpnr-9510c444c93fdb8923d77651562fb698e59dea5f.zip
Disable menu options on json load
Diffstat (limited to 'common/command.cc')
-rw-r--r--common/command.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/command.cc b/common/command.cc
index aae7ed36..f144db37 100644
--- a/common/command.cc
+++ b/common/command.cc
@@ -170,6 +170,7 @@ int CommandHandler::executeMain(std::unique_ptr<Context> ctx)
log_error("Loading design failed.\n");
customAfterLoad(w.getContext());
+ w.updateJsonLoaded();
}
} catch (log_execution_error_exception) {
// show error is handled by gui itself