Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Headless: a running folder scan counts as busy, so settle waits for a background browse

Brandon Thomas65bc8bcb4247
diff --git a/crates/ui-egui/src/headless.rs b/crates/ui-egui/src/headless.rs
index 7225e0709..01719115a 100644
--- a/crates/ui-egui/src/headless.rs
+++ b/crates/ui-egui/src/headless.rs
@@ -173,6 +173,7 @@ impl Headless {
pub fn busy(&self) -> bool {
self.app.renderer.in_flight() > 0
|| self.app.merge.busy()
+ || self.app.scan.is_some()
|| self.app.import.is_some()
|| self.app.export.is_some()
|| !self.app.synthetic.is_empty()