]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix bug with file_format attribute validation of Export feature
authorspo <sergey.pokhodenko@opencascade.com>
Fri, 28 Aug 2015 14:16:20 +0000 (17:16 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 28 Aug 2015 14:16:20 +0000 (17:16 +0300)
src/PartSet/PartSet_WidgetFileSelector.cpp

index 06200820770609e1f2b58a7f9ad069ead046f748..c9ed766b4d862b18156e4d09b8eecd7ed8fa8cd4 100644 (file)
@@ -42,7 +42,7 @@ bool PartSet_WidgetFileSelector::storeValueCustom() const
     return false;
 
   DataPtr aData = myFeature->data();
-  AttributeStringPtr aStringAttr = aData->string(ExchangePlugin_ExportFeature::FILE_PATH_ID());
+  AttributeStringPtr aStringAttr = aData->string(ExchangePlugin_ExportFeature::FILE_FORMAT_ID());
   aStringAttr->setValue(filterToShortFormat(mySelectedFilter).toStdString());
 
   return ModuleBase_WidgetFileSelector::storeValueCustom();