diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-18 22:49:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-18 22:50:23 +0100 |
| commit | 8937b4096aef372dbde07c78d1af9d44b0b0d642 (patch) | |
| tree | a9d091dc2b42ec9a823f898cbd29858a0607c1a5 | |
| parent | 2ec526747aceb1055f6733342732ace7567f4fbc (diff) | |
Add an initialisation in the class.
| -rw-r--r-- | src/wx/screens_panel.cc | 1 | ||||
| -rw-r--r-- | src/wx/screens_panel.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/screens_panel.cc b/src/wx/screens_panel.cc index 4eadf5128..fc63d618d 100644 --- a/src/wx/screens_panel.cc +++ b/src/wx/screens_panel.cc @@ -48,7 +48,6 @@ using namespace dcpomatic; ScreensPanel::ScreensPanel (wxWindow* parent) : wxPanel (parent, wxID_ANY) - , _ignore_selection_change (false) { auto sizer = new wxBoxSizer (wxVERTICAL); 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 { |
