summaryrefslogtreecommitdiff
path: root/src/wx/content_advanced_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-15 01:32:00 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-15 23:24:56 +0200
commit8df0d52eb09043ac9f156f2886123a4888911d57 (patch)
tree88d0b151dbac83beb276d8edf732f2f3dc8c414d /src/wx/content_advanced_dialog.h
parent589a866b05ee0d9d27f83d37e10a1025c406951d (diff)
Make filters option respect OK/Cancel.
Diffstat (limited to 'src/wx/content_advanced_dialog.h')
-rw-r--r--src/wx/content_advanced_dialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h
index b765fa9fb..26c1a374a 100644
--- a/src/wx/content_advanced_dialog.h
+++ b/src/wx/content_advanced_dialog.h
@@ -38,6 +38,9 @@ public:
ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
bool ignore_video() const;
+ std::vector<Filter const*> filters() {
+ return _filters_list;
+ }
private:
void edit_filters ();
@@ -50,6 +53,8 @@ private:
void burnt_subtitle_language_changed ();
std::shared_ptr<Content> _content;
+ bool _filters_allowed = false;
+ std::vector<Filter const*> _filters_list;
wxStaticText* _filters;
wxButton* _filters_button;