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 01b689c9ec4db4f5b766a7d08b2d8e6a1bb487f4..ef93b85973a2d098f89b628433a889c224fc57fa 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 ();
+               }
        }
 }