summaryrefslogtreecommitdiff
path: root/src/osk_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r--src/osk_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp
index 6fb1ee5a0..630cd18f2 100644
--- a/src/osk_gui.cpp
+++ b/src/osk_gui.cpp
@@ -407,7 +407,7 @@ void GetKeyboardLayout()
*/
void ShowOnScreenKeyboard(Window *parent, int button)
{
- DeleteWindowById(WC_OSK, 0);
+ CloseWindowById(WC_OSK, 0);
GetKeyboardLayout();
new OskWindow(&_osk_desc, parent, button);