Couple more visibility fixes.
authorCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 11:24:21 +0000 (12:24 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2012 11:24:21 +0000 (12:24 +0100)
src/wx/film_editor.cc

index 2c36a06ec71710abf38aae01a6c027e722daed97..c6758271fe16042d39c32a724c5d22f448d7d437 100644 (file)
@@ -288,6 +288,8 @@ FilmEditor::content_changed (wxCommandEvent &)
        }
 
        _ignore_changes = false;
+
+       setup_visibility ();
 }
 
 /** Called when the DCP A/B switch has been toggled */
@@ -622,6 +624,8 @@ FilmEditor::setup_visibility ()
        for (list<wxControl*>::iterator i = _still_controls.begin(); i != _still_controls.end(); ++i) {
                (*i)->Show (c == STILL);
        }
+
+       _sizer->Layout ();
 }
 
 void