]> 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)
committervsv <vsv@opencascade.com>
Mon, 13 Apr 2020 14:11:52 +0000 (17:11 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 8d57a5a3cc5a7b6d58c9a428aa890a953045d7a7..cebeec5860286f479e302ac951776fa0a5d9d6bb 100644 (file)
@@ -510,6 +510,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> aSPFeature =