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

factorisation du code de maj de la structure tsg dans updateTsgStruct

parent 933872b3
No related branches found
No related tags found
No related merge requests found
...@@ -488,9 +488,13 @@ tsg_initialisation(hMainFig, hQcCmenu) ...@@ -488,9 +488,13 @@ tsg_initialisation(hMainFig, hQcCmenu)
hdl_pushtool = findobj('-regexp','Tag', 'PUSHTOOL_'); hdl_pushtool = findobj('-regexp','Tag', 'PUSHTOOL_');
set(hdl_pushtool, 'Enable', 'on'); set(hdl_pushtool, 'Enable', 'on');
% update the display % update the filename display
% ------------------ % ---------------------------
set( hInfoFileText, 'String', fileName); set( hInfoFileText, 'String', fileName);
% update some fields in tsg structure
% -----------------------------------
updateTsgStruct(hMainFig);
% The callback to detect the mouse motion can be set to on % The callback to detect the mouse motion can be set to on
% -------------------------------------------------------- % --------------------------------------------------------
...@@ -525,7 +529,7 @@ tsg_initialisation(hMainFig, hQcCmenu) ...@@ -525,7 +529,7 @@ tsg_initialisation(hMainFig, hQcCmenu)
if error2 ~= -1 if error2 ~= -1
plot_SalTsgSample( hMainFig, hPlotAxes ); plot_SalTsgSample( hMainFig, hPlotAxes );
end end
% Pointer reset to arrow % Pointer reset to arrow
% ---------------------- % ----------------------
set( hMainFig, 'Pointer', 'arrow' ); set( hMainFig, 'Pointer', 'arrow' );
......
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