Start page: a From Template button next to New Drawing

New Drawing starts from the default template (Options > Files), so a
template made here or in another program could only be reached through
the NEW command. The button runs NEW, which asks for the .dwt, .dwg or
.dxf to start from.

Closes #1849

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-16 22:46:07 +03:00
1 parent 3cbdce6137
commit 854641bb55
23 files changed
+31

No files matched your search

+9
View File
@@ -3620,6 +3620,15 @@ fn start_page_content<'a>(
let primary_row = WrapFlow::new(vec![
outline_btn(crate::tr!("start", "new-drawing"), Message::TabNew).into(),
// NEW asks which template to start from (.dwt, .dwg or .dxf).
outline_btn(
crate::tr!("start", "new-from-template"),
Message::RibbonToolClick {
tool_id: "NEW".to_string(),
event: crate::modules::ModuleEvent::Command("NEW".to_string()),
},
)
.into(),
outline_btn(crate::tr!("start", "open-file"), Message::OpenFile).into(),
donate_btn.into(),
])