From b7c85a9ecffe4e415ae52042f9e30018738051bc Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 13 Apr 2020 17:11:52 +0300 Subject: [PATCH] Issue #3193: Clear property panel in case of multi-selection in sketcher. --- src/PartSet/PartSet_SketcherMgr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 8d57a5a3c..cebeec586 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -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 aSPFeature = -- 2.39.2