toggleFinder logic only on osx

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent 8ccf7480c4
commit 7e49eabab4
  1. 3
      src/desktop/UBDesktopAnnotationController.cpp

@ -374,7 +374,7 @@ void UBDesktopAnnotationController::close()
void UBDesktopAnnotationController::stylusToolChanged(int tool)
{
Q_UNUSED(tool);
#ifdef Q_OS_OSX
if (UBDrawingController::drawingController()->isInDesktopMode())
{
UBStylusTool::Enum eTool = (UBStylusTool::Enum)tool;
@ -389,6 +389,7 @@ void UBDesktopAnnotationController::stylusToolChanged(int tool)
updateBackground();
}
#endif
}

Loading…
Cancel
Save