don't call showKeyboard if opening is in error (osx only)

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 064ba61552
commit 9169146e27
  1. 5
      src/board/UBBoardController.cpp

@ -1934,7 +1934,12 @@ void UBBoardController::closing()
mIsClosing = true; mIsClosing = true;
lastWindowClosed(); lastWindowClosed();
ClearUndoStack(); ClearUndoStack();
#ifdef Q_OS_OSX
if (!UBPlatformUtils::errorOpeningVirtualKeyboard)
showKeyboard(false); showKeyboard(false);
#else
showKeyboard(false);
#endif
} }
void UBBoardController::lastWindowClosed() void UBBoardController::lastWindowClosed()

Loading…
Cancel
Save