Progress dialog when loading content.
authorCarl Hetherington <cth@carlh.net>
Fri, 21 Dec 2018 23:14:25 +0000 (23:14 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 21 Dec 2018 23:14:25 +0000 (23:14 +0000)
src/wx/swaroop_controls.cc

index bd5fe7d..870ac51 100644 (file)
@@ -395,11 +395,14 @@ SwaroopControls::update_current_content ()
 {
        DCPOMATIC_ASSERT (_selected_playlist);
 
+       wxProgressDialog dialog (_("DCP-o-matic"), "Loading content");
+
        SPLEntry const & e = _playlists[*_selected_playlist].get()[_selected_playlist_position];
        _current_disable_timeline = e.disable_timeline;
        _current_disable_next = !e.skippable;
 
        setup_sensitivity ();
+       dialog.Pulse ();
        reset_film ();
 }