void SMESHGUI_GroupDlg::onObjectSelectionChanged()
{
if ( myIsBusy || !isEnabled()) return;
- if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isDown()) return;
+ if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isChecked()) return;
myIsBusy = true;
myGeomObjects = new GEOM::ListOfGO();
myGeomObjects->length(0);
- if (myGeomGroupBtn->isDown())
- myGeomGroupBtn->setDown(false);
+ if (myGeomGroupBtn->isChecked())
+ myGeomGroupBtn->setChecked(false);
if (!myCreate)
myName->setText("");
setSelectionMode(8);
}
else {
- myGeomGroupBtn->setDown(false);
+ myGeomGroupBtn->setChecked(false);
myGeomObjects->length(0);
myGeomGroupLine->setText("");
myCurrentLineEdit = 0;