mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-11 21:32:39 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
30aa8793f6
commit
58e28e1950
1 file changed
+4
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user