mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Small fix in polyline input ui decorator.
This commit is contained in:
@@ -492,10 +492,11 @@ class PolylineDecorator:
|
||||
new_line = 20
|
||||
for i, (key, field_name) in enumerate(texts.items()):
|
||||
|
||||
if self.tool_state and key != self.tool_state.input_type:
|
||||
formatted_value = self.input_ui.get_formatted_value(key)
|
||||
else:
|
||||
formatted_value = self.input_ui.get_text_value(key)
|
||||
if self.input_ui:
|
||||
if self.tool_state and key != self.tool_state.input_type:
|
||||
formatted_value = self.input_ui.get_formatted_value(key)
|
||||
else:
|
||||
formatted_value = self.input_ui.get_text_value(key)
|
||||
|
||||
if formatted_value is None:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user