mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
Fix TestDisableEditingText crash after 679fa6d
This commit is contained in:
@@ -155,6 +155,9 @@ class TestDisableEditingText(NewFile):
|
||||
props = tool.Drawing.get_text_props(obj)
|
||||
props.is_editing = True
|
||||
subject.disable_editing_text(obj)
|
||||
|
||||
# Props might get invalidated, since no properties set.
|
||||
props = tool.Drawing.get_text_props(obj)
|
||||
assert props.is_editing == False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user