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 bd5fe7dd96515a6a11e6141498aea69f4e7a199f..870ac518bb1d6dc13d6d30b04c63aced19e2597e 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 ();
 }