// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_WidgetSelector.h
+// File: ModuleBase_WidgetSelector.cpp
// Created: 19 June 2015
// Author: Natalia ERMOLAEVA
{
clearAttribute();
- QList<ModuleBase_ViewerPrs> aSelected = myWorkshop->selection()->getSelected(
- ModuleBase_ISelection::AllControls);
- bool isDone = setSelection(aSelected, true);
+ QList<ModuleBase_ViewerPrs> aSelected = getFilteredSelected();
+ bool isDone = setSelection(aSelected, false);
emit valuesChanged();
// the updateObject method should be called to flush the updated sigal. The workshop listens it,
// calls validators for the feature and, as a result, updates the Apply button state.
activateSelection(false);
activateFilters(false);
}
+