{
}
-bool PartSet_WidgetFileSelector::restoreValue()
+bool PartSet_WidgetFileSelector::restoreValueCustom()
{
// A rare case when plugin was not loaded.
if (!myFeature)
AttributeStringPtr aStringAttr = aData->string("export_file_format");
mySelectedFilter = formatToFilter(shortFormatToFullFormat(QString::fromStdString(aStringAttr->value())));
- return ModuleBase_WidgetFileSelector::restoreValue();
+ return ModuleBase_WidgetFileSelector::restoreValueCustom();
}
bool PartSet_WidgetFileSelector::storeValueCustom() const
return ModuleBase_WidgetFileSelector::storeValueCustom();
}
-QString PartSet_WidgetFileSelector::filterToShortFormat( const QString & theFilter )
-{
- return theFilter.section(' ', 0, 0);
-}
-
QString PartSet_WidgetFileSelector::shortFormatToFullFormat( const QString & theFormat ) const
{
foreach(const QString & eachFormat, getValidatorFormats())