diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-31 23:47:14 +0100 |
| commit | e0255a64d22440d718e5512f34a4f21f0d37a21b (patch) | |
| tree | 61927018d28794c7c32c238bc37259bfddb2f01c /src/wx/controls.cc | |
| parent | 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (diff) | |
Use enum class for Film::Property.
Diffstat (limited to 'src/wx/controls.cc')
| -rw-r--r-- | src/wx/controls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 311343400..9eae77495 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -408,11 +408,11 @@ void Controls::film_change (ChangeType type, Film::Property p) { if (type == ChangeType::DONE) { - if (p == Film::CONTENT) { + if (p == Film::Property::CONTENT) { setup_sensitivity (); update_position_label (); update_position_slider (); - } else if (p == Film::THREE_D) { + } else if (p == Film::Property::THREE_D) { setup_sensitivity (); } } |
