From: dmv Date: Thu, 2 Apr 2009 08:53:52 +0000 (+0000) Subject: IPAL19242 It is enabled controls in case user deciding show results on groups while... X-Git-Tag: V5_1_main_20090514~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=270d9da5ea46bab8b5b86c37efecda9e138e9462;p=modules%2Fvisu.git IPAL19242 It is enabled controls in case user deciding show results on groups while groups are missing in mesh at all. --- diff --git a/src/VISUGUI/VisuGUI_InputPane.cxx b/src/VISUGUI/VisuGUI_InputPane.cxx index 442bc0a1..b5b95490 100644 --- a/src/VISUGUI/VisuGUI_InputPane.cxx +++ b/src/VISUGUI/VisuGUI_InputPane.cxx @@ -554,10 +554,10 @@ void VisuGUI_InputPane::initFromPrsObject( VISU::ColoredPrs3d_i* thePrs ) for(; anIter != aGroupNames.end(); anIter++){ const std::string aGroupName = *anIter; mySelectedGroups->insertItem(mySelectedGroups->count(), aGroupName.c_str()); - } + } + myUseGroupsGroupBox->setEnabled(anIsTimeStampFixed); } myUseGroupsGroupBox->setChecked(mySelectedGroups->count() > 0); - myUseGroupsGroupBox->setEnabled(anIsTimeStampFixed); }