diff options
author | John Ankarström <john@ankarstrom.se> | 2022-04-27 14:20:07 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-04-27 14:20:07 +0200 |
commit | dd855b6091c1eb9835cd2466ed2e225dd4f850a4 (patch) | |
tree | 62e7f22f035c65889510ef63ed9b7d87582a6a4e /c/main.c | |
parent | c884c09ac88c0d22a21f839593d77c7173c41b60 (diff) | |
download | EpisodeBrowser-dd855b6091c1eb9835cd2466ed2e225dd4f850a4.tar.gz |
Update episode order after rating.
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -346,10 +346,24 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) PI(t+1,0) break; r: P("episode_data","rate_episode",2,t); ElvUpdateItem(&lvi); - ElvRedraw(); break; } } + switch (LOWORD(wParam)) { + case IDM_RATE10: + case IDM_RATE9: + case IDM_RATE8: + case IDM_RATE7: + case IDM_RATE6: + case IDM_RATE5: + case IDM_RATE4: + case IDM_RATE3: + case IDM_RATE2: + case IDM_RATE1: + case IDM_RATE0: + ElvRedraw(); + ElvDoSort(); + } b: break; } } |