summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-26 21:52:35 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-26 21:52:35 +0100
commit67caa9c4c984641c246db51a232b870a8a5c2284 (patch)
tree31a1a4c832b768b557eb1e3f9f9bd3ac4d668f62
parent9efecc291b7d37826f8476b96d4ba812fb79b7f9 (diff)
fix UI not getting update in time for the content being read back (?)
-rw-r--r--src/wx/content_panel.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 4e3c4d729..a8c0e6054 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -1038,6 +1038,7 @@ ContentPanel::cucumber_add_content_file (string filename)
while (signal_manager->ui_idle()) {}
dcpomatic_sleep_seconds(1);
}
+ while (signal_manager->ui_idle()) {}
}