From a6716358a1ca1c3dfa39fb3fd806399439baa53e Mon Sep 17 00:00:00 2001 From: nkv Date: Mon, 17 Mar 2008 12:39:04 +0000 Subject: [PATCH] BUG 19145 - Exception after "Selection Info" call --- src/VISUGUI/VisuGUI_Selection.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.39.2