]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3277: Remain property panel active if current operation is not finished
authorvsv <vsv@opencascade.com>
Tue, 28 Jul 2020 16:55:30 +0000 (19:55 +0300)
committervsv <vsv@opencascade.com>
Tue, 28 Jul 2020 16:56:11 +0000 (19:56 +0300)
src/XGUI/XGUI_PropertyPanel.cpp

index e9a137851aa45e763e26f3bf898968ea31e3cc94..be2087e702d4455dabf6bee5f2ae0c42dfdc8e2f 100644 (file)
@@ -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();