ATTACH: FILEDIA, -ATTACH command line and reference file types

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-13 15:22:44 +03:00
1 parent b1d4c9bd9b
commit 0678c579c0
33 files changed
+519 -47

No files matched your search

+1 -1
View File
@@ -869,7 +869,7 @@ impl OpenCADStudio {
.split_once(char::is_whitespace)
.map(|(verb, rest)| (verb.to_ascii_uppercase(), rest.trim()))
.unwrap_or_else(|| (cmd.to_ascii_uppercase(), ""));
if verb == "PDFATTACH" && rest.is_empty() {
if verb == "PDFATTACH" && rest.is_empty() && crate::sys::file_dia() {
return Some(Task::done(Message::PdfAttachPick));
}
let insunits = self.tabs[i].scene.document.header.insertion_units;