From 40622a5d1a42cec20e1f107f8623b3be08a13db0 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 23 Sep 2010 11:35:44 +0000 Subject: [PATCH] 0020991: [CEA] regression with creating/editing group --- src/GroupGUI/GroupGUI_GroupDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2