summaryrefslogtreecommitdiff
path: root/src/wx/screens_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-18 22:49:29 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-18 22:50:23 +0100
commit8937b4096aef372dbde07c78d1af9d44b0b0d642 (patch)
treea9d091dc2b42ec9a823f898cbd29858a0607c1a5 /src/wx/screens_panel.h
parent2ec526747aceb1055f6733342732ace7567f4fbc (diff)
Add an initialisation in the class.
Diffstat (limited to 'src/wx/screens_panel.h')
-rw-r--r--src/wx/screens_panel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/screens_panel.h b/src/wx/screens_panel.h
index a00e5d39f..2567725b8 100644
--- a/src/wx/screens_panel.h
+++ b/src/wx/screens_panel.h
@@ -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
{