mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-05 22:30:34 +05:00
Implement for GEOM 0020002: EDF 821
This commit is contained in:
parent
5c45414c57
commit
ad1f33d1cd
@ -792,6 +792,7 @@ bool GEOMToolsGUI::Export()
|
|||||||
|
|
||||||
SALOME_ListIO selectedObjects;
|
SALOME_ListIO selectedObjects;
|
||||||
sm->selectedObjects( selectedObjects );
|
sm->selectedObjects( selectedObjects );
|
||||||
|
bool appropriateObj = false;
|
||||||
|
|
||||||
SALOME_ListIteratorOfListIO It( selectedObjects );
|
SALOME_ListIteratorOfListIO It( selectedObjects );
|
||||||
for(;It.More();It.Next()) {
|
for(;It.More();It.Next()) {
|
||||||
@ -838,8 +839,13 @@ bool GEOMToolsGUI::Export()
|
|||||||
anOp->abort();
|
anOp->abort();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
appropriateObj = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( !appropriateObj )
|
||||||
|
SUIT_MessageBox::warning( app->desktop(),
|
||||||
|
QObject::tr("WRN_WARNING"),
|
||||||
|
QObject::tr("GEOM_WRN_NO_APPROPRIATE_SELECTION") );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user