From 1c10e5be6aac4db4751af29b869945392b944f85 Mon Sep 17 00:00:00 2001 From: ramox81 <184937705+ramox81@users.noreply.github.com> Date: Thu, 1 Oct 2026 17:30:40 +0300 Subject: [PATCH] ATTDEF automation: edit_value and dismiss dialog fields Co-Authored-By: Claude Opus 5.5 --- src/app/control/actions.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/control/actions.rs b/src/app/control/actions.rs index 3c4a9b7c5..12a544ffb 100644 --- a/src/app/control/actions.rs +++ b/src/app/control/actions.rs @@ -792,7 +792,7 @@ impl OpenCADStudio { // One field of the open attribute definition dialog: `tag=…`, // `prompt=…`, `default=…`, `justify=MC`, `style=…`, `height=…`, // `rotation=…`, `width=…`, `on_screen=0|1`, `x=…` / `y=…` / `z=…`, - // `mode=:0|1`, `annotative=0|1`, `align_below=0|1`. + // `mode=:0|1`, `annotative=0|1`, `align_below=0|1`, `edit_value`, `dismiss`. "attdef_dialog" => { use crate::ui::window::attdef_dialog::{AttdefDialogMsg as M, JustifyChoice}; let value = string(req, "value")?; @@ -813,6 +813,8 @@ impl OpenCADStudio { "on_screen" => M::OnScreen(on), "annotative" => M::Annotative(on), "align_below" => M::AlignBelow(on), + "edit_value" => M::EditValue, + "dismiss" => M::DismissError, "x" => M::Coord(0, v.into()), "y" => M::Coord(1, v.into()), "z" => M::Coord(2, v.into()),