mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10: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;
|
||||
sm->selectedObjects( selectedObjects );
|
||||
bool appropriateObj = false;
|
||||
|
||||
SALOME_ListIteratorOfListIO It( selectedObjects );
|
||||
for(;It.More();It.Next()) {
|
||||
@ -838,8 +839,13 @@ bool GEOMToolsGUI::Export()
|
||||
anOp->abort();
|
||||
return false;
|
||||
}
|
||||
appropriateObj = true;
|
||||
}
|
||||
|
||||
if ( !appropriateObj )
|
||||
SUIT_MessageBox::warning( app->desktop(),
|
||||
QObject::tr("WRN_WARNING"),
|
||||
QObject::tr("GEOM_WRN_NO_APPROPRIATE_SELECTION") );
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user