Fix sensitivity of left/right selector when film 3D setting changes.
authorCarl Hetherington <cth@carlh.net>
Sun, 6 Jan 2019 18:59:59 +0000 (18:59 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 6 Jan 2019 18:59:59 +0000 (18:59 +0000)
src/wx/controls.cc

index 01b689c..ef93b85 100644 (file)
@@ -388,9 +388,13 @@ Controls::film () const
 void
 Controls::film_change (ChangeType type, Film::Property p)
 {
-       if (type == CHANGE_TYPE_DONE && p == Film::CONTENT) {
-               setup_sensitivity ();
-               update_position_label ();
-               update_position_slider ();
+       if (type == CHANGE_TYPE_DONE) {
+               if (p == Film::CONTENT) {
+                       setup_sensitivity ();
+                       update_position_label ();
+                       update_position_slider ();
+               } else if (p == Film::THREE_D) {
+                       setup_sensitivity ();
+               }
        }
 }