From 09bd6e859baa7cd6b38d86c1213f41bb487f4dbe Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Fri, 28 Feb 2020 13:54:38 +0100
Subject: [PATCH] establish GUI globals upon window open

---
 src/dynare_gui.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dynare_gui.m b/src/dynare_gui.m
index 498c181..04641ed 100644
--- a/src/dynare_gui.m
+++ b/src/dynare_gui.m
@@ -34,6 +34,8 @@ function varargout = dynare_gui(varargin)
 % You should have received a copy of the GNU General Public License
 % along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
 
+evalin('base', 'global dynare_gui_ project_info model_settings');
+
 gui_State = struct('gui_Name',       mfilename, ...
                    'gui_Singleton',  1, ...
                    'gui_OpeningFcn', @dynare_gui_OpeningFcn, ...
-- 
GitLab