Fix bug in polyline tool when "=" were pressed before "TAB".

This commit is contained in:
Bruno Perdigão
2024-09-12 16:48:29 -03:00
parent efcaf14fbb
commit c2cf8cd7dd
@@ -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, "=")