From: spo Date: Fri, 28 Aug 2015 14:16:20 +0000 (+0300) Subject: Fix bug with file_format attribute validation of Export feature X-Git-Tag: V_1.4.0_beta4~208 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f76e12178207af392680b78e7e420d51311c7e9a;p=modules%2Fshaper.git Fix bug with file_format attribute validation of Export feature --- diff --git a/src/PartSet/PartSet_WidgetFileSelector.cpp b/src/PartSet/PartSet_WidgetFileSelector.cpp index 062008207..c9ed766b4 100644 --- a/src/PartSet/PartSet_WidgetFileSelector.cpp +++ b/src/PartSet/PartSet_WidgetFileSelector.cpp @@ -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();