Salome HOME
Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog... T_3_0_2a1
authormzn <mzn@opencascade.com>
Mon, 29 Aug 2005 08:05:24 +0000 (08:05 +0000)
committermzn <mzn@opencascade.com>
Mon, 29 Aug 2005 08:05:24 +0000 (08:05 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index 262e33c..9bf9e43 100644 (file)
@@ -133,6 +133,9 @@ SMESHGUI_GroupDlg::SMESHGUI_GroupDlg( SMESHGUI* theModule, const char* name,
   else {
     mySelectSubMesh->setEnabled(false);
     mySelectGroup->setEnabled(false);
+
+    myCurrentLineEdit = myMeshGroupLine;
+    setSelectionMode(5);
   }
   
   /* Move widget on the botton right corner of main widget */