From: vsv Date: Fri, 26 Jun 2015 16:05:44 +0000 (+0300) Subject: Issue #648: Preserve selection state X-Git-Tag: V_1.3.0~176 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e83e86c1657ea5330a51db9adaef8c2a5ea1a33a;p=modules%2Fshaper.git Issue #648: Preserve selection state --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 099bd16b3..25db60f12 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -317,6 +317,7 @@ void PartSet_SketcherMgr::onMousePressed(ModuleBase_IViewWindow* theWnd, QMouseE ModuleBase_IWorkshop* aWorkshop = myModule->workshop(); ModuleBase_IViewer* aViewer = aWorkshop->viewer(); + myPreviousSelectionEnabled = aViewer->isSelectionEnabled(); if (!aViewer->canDragByMouse()) return;