From: nkv Date: Mon, 17 Mar 2008 12:39:04 +0000 (+0000) Subject: BUG 19145 - Exception after "Selection Info" call X-Git-Tag: V5_0_0a1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a6716358a1ca1c3dfa39fb3fd806399439baa53e;p=modules%2Fvisu.git BUG 19145 - Exception after "Selection Info" call --- diff --git a/src/VISUGUI/VisuGUI_Selection.cxx b/src/VISUGUI/VisuGUI_Selection.cxx index 4b3dbd17..a758cc27 100644 --- a/src/VISUGUI/VisuGUI_Selection.cxx +++ b/src/VISUGUI/VisuGUI_Selection.cxx @@ -117,15 +117,15 @@ VisuGUI_SelectionDlg::VisuGUI_SelectionDlg (const SalomeApp_Module* theModule): QRadioButton* aBtn = new QRadioButton (tr("MODE_POINT"), aTypeBox); aHBox->addWidget( aBtn ); - aBtnGroup->addButton( aBtn ); + aBtnGroup->addButton( aBtn, 0 ); aBtn = new QRadioButton (tr("MODE_CELL"), aTypeBox); aHBox->addWidget( aBtn ); - aBtnGroup->addButton( aBtn ); + aBtnGroup->addButton( aBtn, 1 ); aBtn = new QRadioButton (tr("MODE_ACTOR"), aTypeBox); aHBox->addWidget( aBtn ); - aBtnGroup->addButton( aBtn ); + aBtnGroup->addButton( aBtn, 2 ); aBtnGroup->button(0)->setChecked(true);