+ if (aWidgetValidated)
+ aValid = !aWidgetValidated || aWidgetValidated->isValidSelection(aPrs);
+ else if (aCurrentWidget->widgetValidator()) {
+ ModuleBase_WidgetValidator* aWidgetValidator = aCurrentWidget->widgetValidator();
+ aValid = aWidgetValidator->isValidSelection(aPrs);
+ }