Fixed selection of Cursor and Pointer tools in desktop mode.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 38af6e5132
commit 33988f4d48
  1. 2
      src/desktop/UBDesktopAnnotationController.cpp

@ -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()
void UBDesktopAnnotationController::pointerActionReleased() void UBDesktopAnnotationController::pointerActionReleased()
{ {
UBApplication::mainWindow->actionPointer->setChecked(true);
switchCursor(UBStylusTool::Pointer); switchCursor(UBStylusTool::Pointer);
} }

Loading…
Cancel
Save