From f77b5d2c002f7e2fa97d56c1f333c5eb0cbce5f0 Mon Sep 17 00:00:00 2001 From: ouv Date: Mon, 7 Apr 2008 09:54:43 +0000 Subject: [PATCH] Bug IPAL19467 - QT4 porting: geometrical group is not selected for mesh group --- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 0732535ee..ff0c476c5 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -932,7 +932,7 @@ void SMESHGUI_GroupDlg::onListSelectionChanged() void SMESHGUI_GroupDlg::onObjectSelectionChanged() { if ( myIsBusy || !isEnabled()) return; - if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isDown()) return; + if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isChecked()) return; myIsBusy = true; @@ -958,8 +958,8 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged() myGeomObjects = new GEOM::ListOfGO(); myGeomObjects->length(0); - if (myGeomGroupBtn->isDown()) - myGeomGroupBtn->setDown(false); + if (myGeomGroupBtn->isChecked()) + myGeomGroupBtn->setChecked(false); if (!myCreate) myName->setText(""); @@ -1246,7 +1246,7 @@ void SMESHGUI_GroupDlg::onSelectGeomGroup(bool on) setSelectionMode(8); } else { - myGeomGroupBtn->setDown(false); + myGeomGroupBtn->setChecked(false); myGeomObjects->length(0); myGeomGroupLine->setText(""); myCurrentLineEdit = 0; -- 2.39.2