From cededfaccba8b13b4713385d2d9eade000ff4382 Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 24 Oct 2026 07:00:29 +0000 Subject: [PATCH] Integration: #1960 put the attachment_action doc line back above attachment_action --- crates/ui-egui/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/lib.rs b/crates/ui-egui/src/lib.rs index bf48c682e..3fceef00e 100644 --- a/crates/ui-egui/src/lib.rs +++ b/crates/ui-egui/src/lib.rs @@ -1612,7 +1612,6 @@ impl PdfCraftApp { self.dialog_epoch } - /// Save an attachment to disk, or open a PDF attachment in a new tab. /// Edit ▸ Attach a file…: choose a file, then attach it to the active document and show /// the Attachments panel with it. pub fn attach_file_dialog(&mut self) { @@ -1646,6 +1645,7 @@ impl PdfCraftApp { } } + /// Save an attachment to disk, or open a PDF attachment in a new tab. pub fn attachment_action(&mut self, doc: DocId, index: usize, open: bool) { let Some(d) = self.session.get(doc) else { return }; let Some(att) = d.info.attachments.get(index).cloned() else { return };