From 9510c444c93fdb8923d77651562fb698e59dea5f Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 5 Aug 2018 18:02:33 +0200 Subject: Disable menu options on json load --- common/command.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'common') 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 ctx) log_error("Loading design failed.\n"); customAfterLoad(w.getContext()); + w.updateJsonLoaded(); } } catch (log_execution_error_exception) { // show error is handled by gui itself -- cgit v1.2.3