From 33988f4d48947973d9ed3af9a400d285c54aec58 Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Mon, 17 Sep 2012 14:37:29 +0300 Subject: [PATCH] Fixed selection of Cursor and Pointer tools in desktop mode. --- src/desktop/UBDesktopAnnotationController.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/desktop/UBDesktopAnnotationController.cpp b/src/desktop/UBDesktopAnnotationController.cpp index bb3fdbe1..d4ae1e75 100644 --- a/src/desktop/UBDesktopAnnotationController.cpp +++ b/src/desktop/UBDesktopAnnotationController.cpp @@ -658,6 +658,7 @@ void UBDesktopAnnotationController::selectorActionPressed() void UBDesktopAnnotationController::selectorActionReleased() { + UBApplication::mainWindow->actionSelector->setChecked(true); switchCursor(UBStylusTool::Selector); } @@ -669,6 +670,7 @@ void UBDesktopAnnotationController::pointerActionPressed() void UBDesktopAnnotationController::pointerActionReleased() { + UBApplication::mainWindow->actionPointer->setChecked(true); switchCursor(UBStylusTool::Pointer); }