From 3c9eecb29e3b06549baf9fcc5e7e74b6d1e2ed1f Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 17 Jun 2005 06:28:52 +0000 Subject: [PATCH] Bug 9189: On any action in SMESH there is update of OB The update is occured only by actions whose need it --- src/SMESHGUI/SMESHGUI.cxx | 4 +++- src/SMESHGUI/SMESHGUI_EditHypothesesDlg.cxx | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.30.2