aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-03-02 18:31:34 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-03-02 18:31:34 +0100
commitde437e83986d80f2fd49291969d154885ede7e9d (patch)
tree10c1974a2a0c5e68e5ba165a85fc7397e5a393a8 /c/episodelistview.c
parent196aeb5a981e184c9eb48a8215639252812f2608 (diff)
downloadEpisodeBrowser-de437e83986d80f2fd49291969d154885ede7e9d.tar.gz
Handle theme updates, improve focus handling
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r--c/episodelistview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index c2d937b..8ca64d5 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -132,7 +132,8 @@ ElvSelectRecent()
if (iItem > 5)
ElvSetTop(iItem-5);
- ListView_SetItemState(HElv, iItem, LVIS_SELECTED, LVIS_SELECTED);
+ ListView_SetItemState(HElv, iItem,
+ LVIS_SELECTED|LVIS_FOCUSED, LVIS_SELECTED|LVIS_FOCUSED);
LpLviElvSelection->iItem = iItem;
LpLviElvSelection->lParam = iEpisode;
ElvUpdateName(LpLviElvSelection);