mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Bug IPAL19467 - QT4 porting: geometrical group is not selected for mesh group
This commit is contained in:
parent
3167aadf5f
commit
f77b5d2c00
@ -932,7 +932,7 @@ void SMESHGUI_GroupDlg::onListSelectionChanged()
|
|||||||
void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
||||||
{
|
{
|
||||||
if ( myIsBusy || !isEnabled()) return;
|
if ( myIsBusy || !isEnabled()) return;
|
||||||
if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isDown()) return;
|
if (myCurrentLineEdit == myGeomGroupLine && !myGeomGroupBtn->isChecked()) return;
|
||||||
|
|
||||||
myIsBusy = true;
|
myIsBusy = true;
|
||||||
|
|
||||||
@ -958,8 +958,8 @@ void SMESHGUI_GroupDlg::onObjectSelectionChanged()
|
|||||||
myGeomObjects = new GEOM::ListOfGO();
|
myGeomObjects = new GEOM::ListOfGO();
|
||||||
myGeomObjects->length(0);
|
myGeomObjects->length(0);
|
||||||
|
|
||||||
if (myGeomGroupBtn->isDown())
|
if (myGeomGroupBtn->isChecked())
|
||||||
myGeomGroupBtn->setDown(false);
|
myGeomGroupBtn->setChecked(false);
|
||||||
if (!myCreate)
|
if (!myCreate)
|
||||||
myName->setText("");
|
myName->setText("");
|
||||||
|
|
||||||
@ -1246,7 +1246,7 @@ void SMESHGUI_GroupDlg::onSelectGeomGroup(bool on)
|
|||||||
setSelectionMode(8);
|
setSelectionMode(8);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
myGeomGroupBtn->setDown(false);
|
myGeomGroupBtn->setChecked(false);
|
||||||
myGeomObjects->length(0);
|
myGeomObjects->length(0);
|
||||||
myGeomGroupLine->setText("");
|
myGeomGroupLine->setText("");
|
||||||
myCurrentLineEdit = 0;
|
myCurrentLineEdit = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user