aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-04-01 19:36:58 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-04-01 19:36:58 +0200
commit226b05d4bdcff492070e715bf0cbd719eb98ac06 (patch)
tree1e1e286527b6709cbc5036704334adcaac2adaa5
parentc214b8f1f04467aec61611b91913ee7ec40656da (diff)
downloadEpisodeBrowser-226b05d4bdcff492070e715bf0cbd719eb98ac06.tar.gz
Update tracked episodes when creating episode list view.
-rw-r--r--c/episodelistview.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c
index 5c9d8ba..074b459 100644
--- a/c/episodelistview.c
+++ b/c/episodelistview.c
@@ -15,6 +15,7 @@ HWND
ElvCreate()
{
LVCOLUMN lvc;
+ term_t t;
LpLviElvSelection = malloc(sizeof(LVITEM));
if (!LpLviElvSelection) return NULL;
@@ -31,6 +32,8 @@ ElvCreate()
lvc.cx = 500;
ListView_InsertColumn(HElv, 1, &lvc);
+ t = T(0);
+ P("track_episodes","update_tracked_episodes",0,t);
ElvUpdate();
ElvSelectRecent();
return HElv;