0020991: [CEA] regression with creating/editing group

This commit is contained in:
vsr 2010-09-23 11:35:44 +00:00
parent 4ef83c2664
commit 40622a5d1a

View File

@ -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);