From: ouv Date: Wed, 26 Mar 2008 17:38:40 +0000 (+0000) Subject: Bug IPAL19345 - Qt4 porting: crash on Union, Intersect, Cut Groups X-Git-Tag: VSR_280308~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02ed75882252452d7fed05e0fd1c32fce409e0e0;p=modules%2Fsmesh.git Bug IPAL19345 - Qt4 porting: crash on Union, Intersect, Cut Groups --- diff --git a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx index 70ef48671..86b655275 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx @@ -124,7 +124,7 @@ QWidget* SMESHGUI_GroupOpDlg::createMainFrame (QWidget* theParent) myNameEdit = new QLineEdit(aNameGrp); aNameGrpLayout->addWidget(aNameLab); - aNameGrpLayout->addWidget(aNameGrp); + aNameGrpLayout->addWidget(myNameEdit); // ------------------------------------------------------ QGroupBox* anArgGrp = new QGroupBox(tr("ARGUMENTS"), aMainGrp); @@ -149,12 +149,12 @@ QWidget* SMESHGUI_GroupOpDlg::createMainFrame (QWidget* theParent) myBtn1->setIcon(aPix); myBtn2->setIcon(aPix); - anArgGrpLayout->addWidget(aObj1Lab); - anArgGrpLayout->addWidget(myBtn1); - anArgGrpLayout->addWidget(myEdit1); - anArgGrpLayout->addWidget(aObj2Lab); - anArgGrpLayout->addWidget(myBtn2); - anArgGrpLayout->addWidget(myEdit2); + anArgGrpLayout->addWidget(aObj1Lab, 0, 0); + anArgGrpLayout->addWidget(myBtn1, 0, 1); + anArgGrpLayout->addWidget(myEdit1, 0, 2); + anArgGrpLayout->addWidget(aObj2Lab, 1, 0); + anArgGrpLayout->addWidget(myBtn2, 1, 1); + anArgGrpLayout->addWidget(myEdit2, 1, 2); // ------------------------------------------------------ aLay->addWidget(aNameGrp);