From d6b73e33f1fd5fb14d185586e925e6e6bf73f222 Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 28 Jul 2020 19:55:30 +0300 Subject: [PATCH] Issue #3277: Remain property panel active if current operation is not finished --- src/XGUI/XGUI_PropertyPanel.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/XGUI/XGUI_PropertyPanel.cpp b/src/XGUI/XGUI_PropertyPanel.cpp index e9a137851..be2087e70 100644 --- a/src/XGUI/XGUI_PropertyPanel.cpp +++ b/src/XGUI/XGUI_PropertyPanel.cpp @@ -72,7 +72,7 @@ XGUI_PropertyPanel::XGUI_PropertyPanel(QWidget* theParent, XGUI_OperationMgr* th myOperationMgr(theMgr) { setWindowTitle(tr("Property Panel")); - MAYBE_UNUSED QAction* aViewAct = toggleViewAction(); + //MAYBE_UNUSED QAction* aViewAct = toggleViewAction(); setObjectName(PROP_PANEL); setStyleSheet("::title { position: relative; padding-left: 5px; text-align: left center }"); @@ -542,8 +542,12 @@ bool XGUI_PropertyPanel::setActiveWidget(ModuleBase_ModelWidget* theWidget, cons } if (myActiveWidget) emit propertyPanelActivated(); - else - emit propertyPanelDeactivated(); + // VSV: Do not deactivate whole property panel on non-active widget + // because it makes problem for continuing of projection operation + // because of redefinition of module selection filters while projection + // operation is not finished. + //else + // emit propertyPanelDeactivated(); myOperationMgr->workshop()->selectionActivate()->updateSelectionModes(); myOperationMgr->workshop()->selectionActivate()->updateSelectionFilters(); -- 2.39.2