Commit 33988f4d authored by Aleksei Kanash's avatar Aleksei Kanash

Fixed selection of Cursor and Pointer tools in desktop mode.

parent 38af6e51
...@@ -658,6 +658,7 @@ void UBDesktopAnnotationController::selectorActionPressed() ...@@ -658,6 +658,7 @@ void UBDesktopAnnotationController::selectorActionPressed()
void UBDesktopAnnotationController::selectorActionReleased() void UBDesktopAnnotationController::selectorActionReleased()
{ {
UBApplication::mainWindow->actionSelector->setChecked(true);
switchCursor(UBStylusTool::Selector); switchCursor(UBStylusTool::Selector);
} }
...@@ -669,6 +670,7 @@ void UBDesktopAnnotationController::pointerActionPressed() ...@@ -669,6 +670,7 @@ void UBDesktopAnnotationController::pointerActionPressed()
void UBDesktopAnnotationController::pointerActionReleased() void UBDesktopAnnotationController::pointerActionReleased()
{ {
UBApplication::mainWindow->actionPointer->setChecked(true);
switchCursor(UBStylusTool::Pointer); switchCursor(UBStylusTool::Pointer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment