swaroop: add progress dialog when switching playlists.
authorCarl Hetherington <cth@carlh.net>
Fri, 21 Dec 2018 21:49:15 +0000 (21:49 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 21 Dec 2018 21:49:15 +0000 (21:49 +0000)
src/wx/swaroop_controls.cc

index 3fadc8fb7eb6012d6d02b9a5ba7530d37b4b5399..bd5fe7dd96515a6a11e6141498aea69f4e7a199f 100644 (file)
@@ -339,6 +339,9 @@ SwaroopControls::spl_selection_changed ()
                return;
        }
 
+       wxProgressDialog dialog (_("DCP-o-matic"), "Loading playlist");
+       dialog.Pulse ();
+
        _current_spl_view->DeleteAllItems ();
 
        int N = 0;
@@ -353,7 +356,9 @@ SwaroopControls::spl_selection_changed ()
 
        _selected_playlist = selected;
        _selected_playlist_position = 0;
+       dialog.Pulse ();
        reset_film ();
+       dialog.Pulse ();
        update_current_content ();
 }