Make filters option respect OK/Cancel.
[dcpomatic.git] / src / wx / content_advanced_dialog.h
index b765fa9fbef3d524b0d6c9145d67e6c9ceaca4c9..26c1a374afc2dab02ea7487faf0a0eb77bf30f78 100644 (file)
@@ -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;