diff options
Diffstat (limited to 'c/datalistview.cpp')
-rw-r--r-- | c/datalistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/datalistview.cpp b/c/datalistview.cpp index 704b689..517a055 100644 --- a/c/datalistview.cpp +++ b/c/datalistview.cpp @@ -11,8 +11,6 @@ #include "main.h" #include "pl.h" -extern EpisodeListView* const g_pElv; - DataListView::DataListView(const HWND hWndParent) : ListView(hWndParent, (HMENU)IDC_DATALISTVIEW, LVS_NOCOLUMNHEADER) { @@ -33,6 +31,8 @@ DataListView::DataListView(const HWND hWndParent) void DataListView::ShowEpisode(const int iEpisode) { + extern EpisodeListView* const g_pElv; + ListView_DeleteAllItems(hWnd); LVITEM lviKey, lviValue; |