]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #648: Preserve selection state
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 26 Jun 2015 16:05:44 +0000 (19:05 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 26 Jun 2015 16:05:44 +0000 (19:05 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 099bd16b3c3dfe028f016dd5b31c79bbbafe5e2c..25db60f120370082a6526d7bff1a24cb0498a1ee 100644 (file)
@@ -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;