Execute command scripts through full input runner

This commit is contained in:
ramox81 committed 2026-09-08 13:52:18 +03:00
1 parent 8bb6703c70
commit d426012660
4 files changed
+20 -8

No files matched your search

+8
View File
@@ -1953,6 +1953,14 @@ impl OpenCADStudio {
self.dispatch_command(&cmd)
}
Message::ScriptLine(line) => {
if line.trim().is_empty() {
self.feed_command(crate::command::StepInput::Enter)
} else {
self.run_command_line(&line)
}
}
Message::ToggleLayers => {
if self.active_modal == Some(super::ModalKind::Layers) {
self.ribbon.deactivate_tool_if("LAYERS");