From aa967ecb490fea1e298b7cb7bf8d425539f45043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Thu, 7 Apr 2022 08:53:26 +0200 Subject: Reset focus after refresh. --- c/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/main.c') 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; } -- cgit v1.2.3