From: asl Date: Fri, 17 Jun 2005 06:28:52 +0000 (+0000) Subject: Bug 9189: X-Git-Tag: T3_0_0_a4~22 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=3c9eecb29e3b06549baf9fcc5e7e74b6d1e2ed1f Bug 9189: On any action in SMESH there is update of OB The update is occured only by actions whose need it --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 1688eb8bd..2f5e5f622 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -1352,6 +1352,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) tr("SMESH_WRN_VIEWER_VTK"), tr("SMESH_BUT_OK")); } + updateObjBrowser(); break; } @@ -1894,6 +1895,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) } } } + updateObjBrowser( true ); break; } @@ -2279,7 +2281,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID ) } - updateObjBrowser(); + //updateObjBrowser(); return true; } diff --git a/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx b/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx index 3e5f9242a..b03e461ac 100644 --- a/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx @@ -350,6 +350,7 @@ bool SMESHGUI_EditHypothesesDlg::ClickOnApply() } UpdateControlState(); + mySMESHGUI->updateObjBrowser(); return aRes; }