Refresh document views after completed print hooks

This commit is contained in:
skylar taylor-barrick committed 2026-10-12 02:51:42 +02:00
1 parent 223e9499c3
commit b8ea8206cc
1 file changed
+1
+1
View File
@@ -485,6 +485,7 @@ fn on_event(app: &mut PhotocraftApp, ctx: &egui::Context, e: JobEvent) {
app.ui.brush_tab = 1;
}
JobOutcome::Done(ref result) if matches!(e.command.as_str(), "file.print" | "file.printOneCopy") => {
app.sync_views();
crate::file_ui::print_status(app, result);
}
JobOutcome::Done(_) => {