From: vsv Date: Mon, 13 Apr 2020 14:11:52 +0000 (+0300) Subject: Issue #3193: Clear property panel in case of multi-selection in sketcher. X-Git-Tag: V9_6_0a1~60^2~78 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b7c85a9ecffe4e415ae52042f9e30018738051bc;p=modules%2Fshaper.git Issue #3193: Clear property panel in case of multi-selection in sketcher. --- 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 =