summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-26 12:24:21 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-26 12:24:21 +0100
commit2d656c1204798a3cfd3024940ea21f00312de535 (patch)
tree8053c2c2f82b1fd9697f2c6374583f233b1a8783 /src
parent3b970e0b0b4c1aaae2b2606eca012b83bc821f24 (diff)
Couple more visibility fixes.
Diffstat (limited to 'src')
-rw-r--r--src/wx/film_editor.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 2c36a06ec..c6758271f 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -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