From bdb6f4b1b354b2f67d83a7a46db7aa4be107e40b Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 14 Mar 2019 12:45:32 +0300 Subject: [PATCH] Fix for '54516: [TC-9.3.0] Local Selection in GEOM doesn't work' issue --- src/OCCViewer/OCCViewer_ViewModel.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index 2c3f55631..0e3e37f73 100644 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -357,7 +357,7 @@ void OCCViewer_Viewer::onMouseRelease(SUIT_ViewWindow* theWindow, QMouseEvent* t bool aHasShift = (theEvent->modifiers() & Qt::ShiftModifier); if (!aHasShift) { - myAISContext->ClearSelected( false ); + myAISContext->ClearCurrents( false ); emit deselection(); } @@ -418,7 +418,7 @@ void OCCViewer_Viewer::onKeyPress(SUIT_ViewWindow* theWindow, QKeyEvent* theEven switch ( theEvent->key() ) { case Qt::Key_S: if (!aHasShift) { - myAISContext->ClearSelected( false ); + myAISContext->ClearCurrents( false ); emit deselection(); } -- 2.39.2