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~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47f4ee100cab87409534ba8b57e7c64582511fe3;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 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 =