feat(insert): add initial PDF underlay attachment

This commit is contained in:
gianlucafiore committed 2026-09-05 15:39:22 -03:00
1 parent ac8a545669
commit 410624e4b3
5 files changed
+133 -1

No files matched your search

+3 -1
View File
@@ -515,11 +515,13 @@ impl OpenCADStudio {
self.open_attedit_dialog();
}
"PDFATTACH" => {
return Some(Task::done(Message::PdfAttachPick));
}
"XATTACH" => {
// Launch the file picker; XAttachPickResult will start the command.
return Some(Task::done(Message::XAttachPick));
}
cmd if cmd == "WBLOCK" || cmd == "WB" || cmd.starts_with("WBLOCK ") => {
let arg = cmd.splitn(2, ' ').nth(1).unwrap_or("").trim();
if arg.is_empty() {