summaryrefslogtreecommitdiffhomepage
path: root/main/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/keyboard.cpp')
-rw-r--r--main/keyboard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/keyboard.cpp b/main/keyboard.cpp
index 041af2c8..66dafa7e 100644
--- a/main/keyboard.cpp
+++ b/main/keyboard.cpp
@@ -42,7 +42,7 @@ void app::keyPressEvent(Platform::Sdl2Application::KeyEvent& event)
void app::keyReleaseEvent(Platform::Sdl2Application::KeyEvent& event)
{
if (_imgui.handleKeyReleaseEvent(event))
- return event.setAccepted();
+ return keys = {}, event.setAccepted();
do_key(event.key(), event.modifiers(), false, false);
}