From: mzn Date: Mon, 29 Aug 2005 08:05:24 +0000 (+0000) Subject: Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog... X-Git-Tag: T_3_0_2a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9d28d73b09e96b23cf9937afa17474f98508df18;p=modules%2Fsmesh.git Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog box. --- diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 262e33c5e..9bf9e43f5 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -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 */