From b461398b1e2fa134eb33cf1ad8bc516e6ee40620 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 13 Dec 2017 09:37:56 +0300 Subject: [PATCH] Activation objects redesign : widgetActivated should not be processed in ReentrantManager because selection activate find active widget(by module from reentrant manager) and will itself activate selection/filters for this widget. --- src/PartSet/PartSet_SketcherReentrantMgr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_SketcherReentrantMgr.cpp b/src/PartSet/PartSet_SketcherReentrantMgr.cpp index 0e4aebf79..fbda12947 100644 --- a/src/PartSet/PartSet_SketcherReentrantMgr.cpp +++ b/src/PartSet/PartSet_SketcherReentrantMgr.cpp @@ -333,7 +333,8 @@ void PartSet_SketcherReentrantMgr::setReentrantPreSelection( // ModuleBase_ModelWidget* aFirstWidget = aModule->activeWidget(); // ModuleBase_IPropertyPanel* aPanel = aModule->currentOperation()->propertyPanel(); // if (aFirstWidget != aPanel->activeWidget()) { -// ModuleBase_WidgetSelector* aWSelector = dynamic_cast(aFirstWidget); +// ModuleBase_WidgetSelector* aWSelector = dynamic_cast +// (aFirstWidget); // if (aWSelector) { // myWorkshop->selectionActivate()->activateSelectionAndFilters(aWSelector); // } -- 2.39.2