forked from 1b-agent/opencadstudio-upstream
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
3cbdce6137
commit
854641bb55
23 files changed
+31
No files matched your search
@@ -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(),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user