mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-14 19:26:51 -04:00
Refresh document views after completed print hooks
This commit is contained in:
1 parent
223e9499c3
commit
b8ea8206cc
1 file changed
+1
@@ -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(_) => {
|
||||
|
||||
Reference in new issue
Block a user