diff options
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r-- | gui/ListWidget.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 195256b66f..b71bb4701e 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -404,8 +404,13 @@ bool ListWidget::handleKeyUp(Common::KeyState state) { return true; } +void ListWidget::receivedFocusWidget() { + // Redraw the widget so the selection color will change + draw(); +} + void ListWidget::lostFocusWidget() { - // If we loose focus, we simply forget the user changes + // If we lose focus, we simply forget the user changes _editMode = false; g_system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); drawCaret(true); |