Fix some initial sensitivity.
authorCarl Hetherington <cth@carlh.net>
Sat, 15 Jun 2013 18:18:03 +0000 (19:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 15 Jun 2013 18:18:03 +0000 (19:18 +0100)
src/wx/film_editor.cc

index aab2a61474a83882145bd6c2b211891baa099b3d..8aa4165c703dcff3c844192ab23d4dceb9810486 100644 (file)
@@ -912,6 +912,9 @@ FilmEditor::set_things_sensitive (bool s)
        _audio_gain_calculate_button->Enable (s);
        _show_audio->Enable (s);
        _audio_delay->Enable (s);
+       _container->Enable (s);
+       _loop_content->Enable (s);
+       _loop_count->Enable (s);
 
        setup_subtitle_control_sensitivity ();
        setup_show_audio_sensitivity ();
@@ -1223,6 +1226,7 @@ FilmEditor::setup_content_sensitivity ()
        _video_panel->Enable    (selection && dynamic_pointer_cast<VideoContent>  (selection) && _generally_sensitive);
        _audio_panel->Enable    (selection && dynamic_pointer_cast<AudioContent>  (selection) && _generally_sensitive);
        _subtitle_panel->Enable (selection && dynamic_pointer_cast<FFmpegContent> (selection) && _generally_sensitive);
+       _timing_panel->Enable   (selection && _generally_sensitive);
 }
 
 shared_ptr<Content>