Skip to content
Snippets Groups Projects
Commit e9820edb authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

add set(0,'userdata', root) after setappdata( hTsgGUI, 'tsg_data', tsg);

parent ba46c492
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ else ...@@ -56,7 +56,7 @@ else
'checked', root.preference.autoload)); 'checked', root.preference.autoload));
catch catch
warning('tsgqc_GUI:tsg_preferences', ['Can''t load' config_file]); warning('tsgqc_GUI:tsg_preferences', ['Can''t load : ' config_file]);
%datagui_closereq_callback; %datagui_closereq_callback;
end end
...@@ -76,6 +76,10 @@ end ...@@ -76,6 +76,10 @@ end
% ------------------ % ------------------
setappdata( hTsgGUI, 'tsg_data', tsg); setappdata( hTsgGUI, 'tsg_data', tsg);
% save root in userdata property
% ------------------------------
set(0,'userdata', root);
% cas d'erreur si l'utilisation change de disque (cle USB -> disque dur % cas d'erreur si l'utilisation change de disque (cle USB -> disque dur
% par ex, self.path ne sera pas a jour et la lecture fichier genere une % par ex, self.path ne sera pas a jour et la lecture fichier genere une
% erreur % erreur
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment