From: vsr Date: Thu, 23 Sep 2010 11:35:44 +0000 (+0000) Subject: 0020991: [CEA] regression with creating/editing group X-Git-Tag: V5_1_5a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=40622a5d1a42cec20e1f107f8623b3be08a13db0;p=modules%2Fgeom.git 0020991: [CEA] regression with creating/editing group --- diff --git a/src/GroupGUI/GroupGUI_GroupDlg.cxx b/src/GroupGUI/GroupGUI_GroupDlg.cxx index 07f5eae4e..dcee8dbad 100644 --- a/src/GroupGUI/GroupGUI_GroupDlg.cxx +++ b/src/GroupGUI/GroupGUI_GroupDlg.cxx @@ -787,6 +787,7 @@ void GroupGUI_GroupDlg::activateSelection() myIsShapeType) // check if shape type is already choosen by user { GEOM_Displayer* aDisplayer = getDisplayer(); + int prevDisplayMode = aDisplayer->SetDisplayMode(0); SUIT_ViewWindow* aViewWindow = 0; SUIT_Study* activeStudy = SUIT_Session::session()->activeApplication()->activeStudy(); @@ -829,6 +830,7 @@ void GroupGUI_GroupDlg::activateSelection() } } aDisplayer->UpdateViewer(); + aDisplayer->SetDisplayMode(prevDisplayMode); } globalSelection(GEOM_ALLSHAPES);