aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-24 13:14:12 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-24 13:14:12 +0200
commit15a09ae4bd7cc686d1be6735b4e72cf490776f11 (patch)
tree1bef2467cbe2ad32410481fc45072e5a88a4a171 /c/episodelistview.cpp
parent7e353754aa3aeb6a795104fc641924e21014d00b (diff)
downloadEpisodeBrowser-15a09ae4bd7cc686d1be6735b4e72cf490776f11.tar.gz
Re-enable screenwriter limit.
Diffstat (limited to 'c/episodelistview.cpp')
-rw-r--r--c/episodelistview.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/c/episodelistview.cpp b/c/episodelistview.cpp
index cadd751..a76717a 100644
--- a/c/episodelistview.cpp
+++ b/c/episodelistview.cpp
@@ -401,9 +401,10 @@ void EpisodeListView::Update()
if (!e.siEp[0])
continue;
- //if (g_cfg.limitScreenwriter[0] && !Pl("episode_data","episode_datum",iEp,
- // "Screenwriter",g_cfg.limitScreenwriter))
- // continue;
+ if (extern FileView<DlvDataA> g_fvDlv;
+ g_cfg.limitToScreenwriter[0]
+ && wcscmp(g_fvDlv.At(iEp-1).screenwriter, g_cfg.limitToScreenwriter) != 0)
+ continue;
if (!g_cfg.bViewWatched && e.bWatched)
continue;