Dismiss the on screen keyboard too when shutdown

This commit is contained in:
Benau 2018-10-24 14:32:01 +08:00
parent d3db5d8808
commit ce8125b03a

View File

@ -28,6 +28,7 @@
#include "guiengine/engine.hpp"
#include "guiengine/message_queue.hpp"
#include "guiengine/modaldialog.hpp"
#include "guiengine/screen_keyboard.hpp"
#include "input/input_manager.hpp"
#include "modes/profile_world.hpp"
#include "modes/world.hpp"
@ -371,6 +372,7 @@ void MainLoop::run()
// In case the user opened a race pause dialog
GUIEngine::ModalDialog::dismiss();
GUIEngine::ScreenKeyboard::dismiss();
if (World::getWorld())
{