From 49e7f58301f8a825c6567ff8de84118b80949383 Mon Sep 17 00:00:00 2001
From: Laura Nervo <laura.nervo@esrf.fr>
Date: Mon, 5 Aug 2013 11:32:15 +0200
Subject: [PATCH] guiGtSetup : changed make_parameters(1) to
 make_parameters(2)...

Signed-off-by: Laura Nervo <laura.nervo@esrf.fr>
---
 zUtil_GUI/guiGtSetup.m | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/zUtil_GUI/guiGtSetup.m b/zUtil_GUI/guiGtSetup.m
index f7a69cf3..587f4339 100644
--- a/zUtil_GUI/guiGtSetup.m
+++ b/zUtil_GUI/guiGtSetup.m
@@ -100,7 +100,7 @@ function initialize_gui(fig_handle, handles, isreset)
 
     handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, pwd);
 
-    [handles.parameters, handles.list] = make_parameters(1);
+    [handles.parameters, handles.list] = make_parameters(2);
     updateListbox(handles.guiListbox, handles.parameters);
 
     % Update handles structure
@@ -160,7 +160,7 @@ function guiLoadButton_Callback(hObject, eventdata, handles)
 
     if filename
         completePath = fullfile(pathname, filename);
-        [handles.parameters, handles.list] = make_parameters(1);
+        [handles.parameters, handles.list] = make_parameters(2);
         handles.parameters = load(completePath);
 
         % Update handles structure
@@ -202,7 +202,7 @@ function guiLoadXMLPushButton_Callback(hObject, eventdata, handles)
 
     if xmlFilename
         completePath = fullfile(xmlPath, xmlFilename);
-        [handles.parameters, handles.list] = make_parameters(1);
+        [handles.parameters, handles.list] = make_parameters(2);
         handles.parameters = gtLoadAcquisitionXML(handles.parameters, handles.list, completePath, false);
 
         handles.guiEditPath = setAcquisitionPath(handles.guiEditPath, xmlPath);
@@ -272,7 +272,7 @@ function guiChangeButton_Callback(hObject, eventdata, handles)
 end
 
 function resetAcquisitionDir(handles, directoryname)
-    [handles.parameters, handles.list] = make_parameters(1);
+    [handles.parameters, handles.list] = make_parameters(2);
 
     % Let's find a xml file
     paramsFiles = dir(fullfile(directoryname, 'parameters.mat'));
-- 
GitLab