From 47f4ee100cab87409534ba8b57e7c64582511fe3 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 2a494636f..48db9c3ae 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -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 aSketchFeature = -- 2.39.2