]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #3193: Clear property panel in case of multi-selection in sketcher.
authorvsv <vsv@opencascade.com>
Mon, 13 Apr 2020 14:11:52 +0000 (17:11 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Thu, 2 Jul 2020 11:25:29 +0000 (14:25 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 2a494636f05c50321b0e369282019ad38e76ce7e..48db9c3ae024c73bc499fee2059f5d1b118ed7b1 100644 (file)
@@ -517,6 +517,10 @@ void PartSet_SketcherMgr::onMousePressed(ModuleBase_IViewWindow* theWnd, QMouseE
       myPreviousDrawModeEnabled = aViewer->enableDrawMode(false);
       if (isRelaunchEditing)
         launchEditing();
+      else {
+        if (myCurrentSelection.size() > 1)
+          aFOperation->propertyPanel()->cleanContent();
+      }
       myIsEditLaunching = aPrevLaunchingState;
       if (aFeature.get() != NULL) {
         std::shared_ptr<SketchPlugin_Feature> aSketchFeature =