Add an initialisation in the class.
[dcpomatic.git] / src / wx / screens_panel.h
index a00e5d39f28e2f1483bcf297db0397bb0b84a0c7..2567725b85ac87e1afe0717cfd5f1871e70596ed 100644 (file)
@@ -93,7 +93,7 @@ private:
        std::map<std::shared_ptr<Cinema>, wxTreeListItem> _cinema_to_item;
        std::map<std::shared_ptr<dcpomatic::Screen>, wxTreeListItem> _screen_to_item;
 
-       bool _ignore_selection_change;
+       bool _ignore_selection_change = false;
 
        class Comparator : public wxTreeListItemComparator
        {