Salome HOME
Make ModuleBase_ModelWidget::restoreValue() non-virtual and create virtual ModuleBase...
[modules/shaper.git] / src / PartSet / PartSet_WidgetFileSelector.cpp
index 4f4f9531d037cc52ed548532262fd76fafc80d4f..117a8c866fcda85762ecff8fbca710757e5f16b6 100644 (file)
@@ -20,7 +20,7 @@ PartSet_WidgetFileSelector::PartSet_WidgetFileSelector(QWidget* theParent,
 {
 }
 
-bool PartSet_WidgetFileSelector::restoreValue()
+bool PartSet_WidgetFileSelector::restoreValueCustom()
 {
   // A rare case when plugin was not loaded.
   if (!myFeature)
@@ -30,7 +30,7 @@ bool PartSet_WidgetFileSelector::restoreValue()
   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