diff --git a/src/gui_realtime_shock_decomposition.m b/src/gui_realtime_shock_decomposition.m index dee7d7fea8299d0a70fc4b62117262ec37f48c79..413a3138748c85085459f0d010b7d379c7dbb576 100644 --- a/src/gui_realtime_shock_decomposition.m +++ b/src/gui_realtime_shock_decomposition.m @@ -313,6 +313,7 @@ handles.pushbuttonClose = uicontrol( ... jObj.setBusyText('All done!'); project_info.modified = true; project_info.realtime_shock_decomposition_run = true; + gui_set_menus(true); catch ME jObj.stop; jObj.setBusyText('Done with errors!'); diff --git a/src/gui_shock_decomposition.m b/src/gui_shock_decomposition.m index 483a6b95698f47bf5be2206c6367e764feb83ee9..3ac323c31b59988e3e7e83ebd976a01fd423a833 100644 --- a/src/gui_shock_decomposition.m +++ b/src/gui_shock_decomposition.m @@ -291,6 +291,7 @@ handles.pushbuttonClose = uicontrol( ... jObj.setBusyText('All done!'); project_info.modified = true; project_info.shock_decomposition_run = true; + gui_set_menus(true); catch ME jObj.stop; jObj.setBusyText('Done with errors!');