Salome HOME
Issue #1708: Export - Apply is enabled when no objects is selected
authordbv <dbv@opencascade.com>
Fri, 2 Sep 2016 08:21:04 +0000 (11:21 +0300)
committerdbv <dbv@opencascade.com>
Fri, 2 Sep 2016 08:21:22 +0000 (11:21 +0300)
Fixed

src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp

index 1cbd1962b779101b47b4e76a81d2d1b82d463a76..14311b75c0b5c98e0f209c5a0af4ddb09e862cbb 100644 (file)
@@ -63,7 +63,7 @@ void ExchangePlugin_ExportFeature::initAttributes()
   data()->addAttribute(ExchangePlugin_ExportFeature::XAO_AUTHOR_ID(), ModelAPI_AttributeString::typeId());
   data()->addAttribute(ExchangePlugin_ExportFeature::XAO_GEOMETRY_NAME_ID(), ModelAPI_AttributeString::typeId());
 
-  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ExchangePlugin_ExportFeature::SELECTION_LIST_ID());
+  //ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ExchangePlugin_ExportFeature::SELECTION_LIST_ID());
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ExchangePlugin_ExportFeature::XAO_FILE_PATH_ID());
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ExchangePlugin_ExportFeature::XAO_AUTHOR_ID());
   ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ExchangePlugin_ExportFeature::XAO_GEOMETRY_NAME_ID());