X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_FilterValidated.cpp;h=08314d734cc3cf2793e3e601ac6a9a53d891551d;hb=450d1bd65c11870d3942a30164518037b9a7503e;hp=88f16c6d8deb50eb9a9cf36c5b00d66ae77b1490;hpb=7accbed88faf9e9049ed5253a099f5c36084d958;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_FilterValidated.cpp b/src/ModuleBase/ModuleBase_FilterValidated.cpp index 88f16c6d8..08314d734 100644 --- a/src/ModuleBase/ModuleBase_FilterValidated.cpp +++ b/src/ModuleBase/ModuleBase_FilterValidated.cpp @@ -25,7 +25,7 @@ Standard_Boolean ModuleBase_FilterValidated::IsOk(const Handle(SelectMgr_EntityO ModuleBase_IPropertyPanel* aPanel = anOperation->propertyPanel(); ModuleBase_ModelWidget* aCurrentWidget = aPanel->preselectionWidget(); if (!aCurrentWidget) - aCurrentWidget = aPanel->activeWidget(); + aCurrentWidget = myWorkshop->module()->activeWidget(); ModuleBase_WidgetValidated* aWidgetValidated = dynamic_cast (aCurrentWidget); ModuleBase_ViewerPrs aPrs;