forgot to check OS

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent c3430d3975
commit a277bf78a3
  1. 4
      src/board/UBBoardController.cpp

@ -2171,8 +2171,12 @@ void UBBoardController::stylusToolChanged(int tool)
{
if(mPaletteManager->mKeyboardPalette->m_isVisible)
{
#ifdef Q_OS_OSX
if (!UBPlatformUtils::errorOpeningVirtualKeyboard)
UBApplication::mainWindow->actionVirtualKeyboard->activate(QAction::Trigger);
#else
UBApplication::mainWindow->actionVirtualKeyboard->activate(QAction::Trigger);
#endif
}
}
}

Loading…
Cancel
Save