From: vsv Date: Tue, 28 Jul 2020 16:55:30 +0000 (+0300) Subject: Issue #3277: Remain property panel active if current operation is not finished X-Git-Tag: V9_6_0a1~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d6b73e33f1fd5fb14d185586e925e6e6bf73f222;p=modules%2Fshaper.git Issue #3277: Remain property panel active if current operation is not finished --- 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();