forked from 1b-agent/opencadstudio-upstream
Count: Invalid Area dialog, table block kept with the table
- When the count area's boundary is gone the approved Invalid Area dialog asks: undo the change (also its X and Cancel) or count all of model space; "always" keeps the choice in the settings. An edited boundary moves the area. - A table's *T block is brought up to date whenever the table changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4dba66bbac
commit
7ad6e5b094
33 files changed
+318
-5
No files matched your search
@@ -933,7 +933,7 @@ impl OpenCADStudio {
|
||||
// layer|scale|mirror>:NAME", "create_table", "check=NAME:1",
|
||||
// "all=1", "table_cancel", "table_insert", "back", "match=<0|1|2>:1",
|
||||
// "details", "errors", "error=<n>", "area", "prev", "next", "select",
|
||||
// "field", "close".
|
||||
// "field", "close", "invalid_undo", "invalid_continue", "invalid_always=1".
|
||||
"count_palette" => {
|
||||
use crate::ui::window::count_palette::{CountMsg as M, RowAction};
|
||||
let value = string(req, "value")?;
|
||||
@@ -993,6 +993,10 @@ impl OpenCADStudio {
|
||||
"select" => M::Select,
|
||||
"field" => M::Field,
|
||||
"close" => M::Close,
|
||||
// The Invalid Area dialog.
|
||||
"invalid_undo" => M::InvalidUndo,
|
||||
"invalid_continue" => M::InvalidContinue,
|
||||
"invalid_always" => M::InvalidAlways(arg == "1"),
|
||||
_ => return Err(bad()),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user