aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-07 08:53:26 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-07 08:53:26 +0200
commitaa967ecb490fea1e298b7cb7bf8d425539f45043 (patch)
tree9e379db4123810700b02f118fa5f3f686b98e88f /c/main.c
parentd22ef6f3a55cd6be0e3cbee22f9ca0f01468b93d (diff)
downloadEpisodeBrowser-aa967ecb490fea1e298b7cb7bf8d425539f45043.tar.gz
Reset focus after refresh.
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/main.c b/c/main.c
index b959417..af1b472 100644
--- a/c/main.c
+++ b/c/main.c
@@ -281,7 +281,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
break;
case ID_LOOKUP:
P("episode_data","retract_episode",1,t);
- ElvUpdateName(&lvi);
+ ElvUpdateItem(&lvi);
ElvRedraw();
DlvShowEpisode(lvi.lParam);
break;
@@ -303,7 +303,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case ID_RATE0:
PI(t+1,0) break;
r: P("episode_data","rate_episode",2,t);
- ElvUpdateName(&lvi);
+ ElvUpdateItem(&lvi);
ElvRedraw();
break;
}