Implement for GEOM 0020002: EDF 821

This commit is contained in:
dmv 2009-01-20 08:11:40 +00:00
parent 5c45414c57
commit ad1f33d1cd

View File

@ -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;
}