From 2db12bb6b850580e9b877edc262af772b3e60600 Mon Sep 17 00:00:00 2001 From: Jacques Grelet <jacques.grelet@ird.fr> Date: Thu, 10 Jan 2008 15:35:20 +0000 Subject: [PATCH] factorisation du code de maj de la structure tsg dans updateTsgStruct --- tsgqc_GUI.m | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tsgqc_GUI.m b/tsgqc_GUI.m index a8b63c4..9e0b9fb 100644 --- a/tsgqc_GUI.m +++ b/tsgqc_GUI.m @@ -488,9 +488,13 @@ tsg_initialisation(hMainFig, hQcCmenu) hdl_pushtool = findobj('-regexp','Tag', 'PUSHTOOL_'); set(hdl_pushtool, 'Enable', 'on'); - % update the display - % ------------------ + % update the filename display + % --------------------------- set( hInfoFileText, 'String', fileName); + + % update some fields in tsg structure + % ----------------------------------- + updateTsgStruct(hMainFig); % The callback to detect the mouse motion can be set to on % -------------------------------------------------------- @@ -525,7 +529,7 @@ tsg_initialisation(hMainFig, hQcCmenu) if error2 ~= -1 plot_SalTsgSample( hMainFig, hPlotAxes ); end - + % Pointer reset to arrow % ---------------------- set( hMainFig, 'Pointer', 'arrow' ); -- GitLab