diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-15 17:17:50 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-15 17:17:50 +0100 |
commit | c1eee2b46cd5643ba8efb98b2cd598ef47c4daf6 (patch) | |
tree | cd23129ac6476d5be4814687248e3e71c0d959c9 /c/episodelistview.c | |
parent | c605ea0545ac22dc328c83d78011e3d18346eb63 (diff) | |
download | EpisodeBrowser-c1eee2b46cd5643ba8efb98b2cd598ef47c4daf6.tar.gz |
Show data in data list view.
Diffstat (limited to 'c/episodelistview.c')
-rw-r--r-- | c/episodelistview.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/c/episodelistview.c b/c/episodelistview.c index ab54f81..0b9e855 100644 --- a/c/episodelistview.c +++ b/c/episodelistview.c @@ -51,7 +51,7 @@ ElvHandleNotify(LPARAM lParam) && (pNmLv->uNewState & LVIS_FOCUSED)) { g_SelectedItem = pNmLv->iItem; ElvUpdateName(pNmLv); - //DlvShowEpisode(pNmLv->lParam); + DlvShowEpisode(pNmLv->lParam); } break; case NM_CUSTOMDRAW: @@ -87,7 +87,6 @@ ElvUpdate() term_t t; hListView = GetDlgItem(gElv_hWnd, IDC_EPISODELISTVIEW); - ListView_DeleteAllItems(hListView); lviEpisode.mask = LVIF_TEXT|LVIF_PARAM; @@ -139,7 +138,6 @@ ElvUpdate() /* Insert item. */ - lviEpisode.mask = LVIF_TEXT|LVIF_STATE|LVIF_PARAM; lviEpisode.iItem = i; lviEpisode.iSubItem = 0; lviEpisode.pszText = tszEpisode; |