forked from 1b-agent/opencadstudio-upstream
Recompute table formulas after an edit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
f297b35e4a
commit
8f3e99b03e
4 files changed
+13
-2
No files matched your search
@@ -3632,6 +3632,7 @@ impl Scene {
|
||||
&& matches!(self.document.get_entity(*handle), Some(EntityType::Table(t)) if t.block_record_handle.is_none())
|
||||
{
|
||||
rebuilt_table_block |= self.document.refresh_table_block(*handle);
|
||||
rebuilt_table_block |= !crate::entities::field::refresh_table_formulas(&mut self.document, *handle).is_empty();
|
||||
}
|
||||
}
|
||||
if rebuilt_table_block {
|
||||
|
||||
Reference in new issue
Block a user