aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r--gui/ListWidget.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index 84275b43b7..1090ae60fd 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -197,7 +197,14 @@ bool ListWidget::handleKeyDown(char key, int modifiers)
_scrollBar->draw();
}
+#ifndef _WIN32_WCE
+
+ // not done on WinCE because keyboard is emulated and
+ // keyup is not generated
+
_currentKeyDown = key;
+
+#endif
return handled;
}