mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Fix bug in polyline tool when "=" were pressed before "TAB".
This commit is contained in:
@@ -231,7 +231,7 @@ class PolylineOperator:
|
||||
else:
|
||||
self.number_input.pop(-1)
|
||||
elif event.ascii == "=":
|
||||
if self.number_input[0] == "=":
|
||||
if self.number_input and self.number_input[0] == "=":
|
||||
self.number_input.pop(0)
|
||||
else:
|
||||
self.number_input.insert(0, "=")
|
||||
|
||||
Reference in New Issue
Block a user