diff --git a/src/board/UBBoardController.cpp b/src/board/UBBoardController.cpp index b3b26c8e..ae0d80fe 100644 --- a/src/board/UBBoardController.cpp +++ b/src/board/UBBoardController.cpp @@ -1934,7 +1934,12 @@ void UBBoardController::closing() mIsClosing = true; lastWindowClosed(); ClearUndoStack(); - showKeyboard(false); +#ifdef Q_OS_OSX + if (!UBPlatformUtils::errorOpeningVirtualKeyboard) + showKeyboard(false); +#else + showKeyboard(false); +#endif } void UBBoardController::lastWindowClosed()