summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-19 23:22:25 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-19 23:22:25 +0200
commite241f8b3c78acf3a70ae126ef141a8facc3782d6 (patch)
tree32aee6c1e7d0c393bdbc9fb5132b7b1db7988932
parent5c3a792617be3764806256020fce87af26b643c1 (diff)
Playlist editor: try to make progress dialogue appear sooner when scanning content.
-rw-r--r--src/wx/content_view.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/content_view.cc b/src/wx/content_view.cc
index d4e18108d..da3ca6b6b 100644
--- a/src/wx/content_view.cc
+++ b/src/wx/content_view.cc
@@ -82,6 +82,8 @@ ContentView::update ()
for (directory_iterator i = directory_iterator(*dir); i != directory_iterator(); ++i) {
try {
+ progress.Pulse ();
+
shared_ptr<Content> content;
if (is_directory(*i) && (is_regular_file(*i / "ASSETMAP") || is_regular_file(*i / "ASSETMAP.xml"))) {
content.reset (new DCPContent(*i));