From 58e28e19508d42c334c2c1b06e7cbc1103b090f4 Mon Sep 17 00:00:00 2001 From: mtlcl410 <2368091+mtlcl410@users.noreply.github.com> Date: Mon, 19 Oct 2026 07:33:08 +0800 Subject: [PATCH] M7: a web save forgets the placed signature too (#2149) Review follow-up on #2348: as the native save does, so a later save with the question turned back on doesn't ask about what was already saved. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/editing/save.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/editing/save.rs b/crates/ui-egui/src/editing/save.rs index 520ce47477..0ab9bd5b5d 100644 --- a/crates/ui-egui/src/editing/save.rs +++ b/crates/ui-egui/src/editing/save.rs @@ -110,7 +110,10 @@ impl PdfCraftApp { }; match delivered { Ok(()) => { - let _ = self.session.mark_saved(id, bytes, None); + // As the native save does: what was saved isn't asked about again (#2149). + if self.session.mark_saved(id, bytes, None).is_ok() { + self.placed_signatures.remove(&id); + } if let Some(doc) = self.session.get(id) && let Some(view) = self.views.get_mut(index) {