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 262e33c5e412b4adc68b8cd5c16bfedaece7e801..9bf9e43f5f9758ef141072521b10a0dc6155ae0f 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 */