diff --git a/src/bonsai/bonsai/bim/module/model/wall.py b/src/bonsai/bonsai/bim/module/model/wall.py index 8c1a61a5a0..a50573f20d 100644 --- a/src/bonsai/bonsai/bim/module/model/wall.py +++ b/src/bonsai/bonsai/bim/module/model/wall.py @@ -471,7 +471,7 @@ class DrawPolylineWall(bpy.types.Operator): if self.input_type in self.input_options: if (event.ascii in self.number_options) or (event.value == "RELEASE" and event.type == "BACK_SPACE"): - if not self.is_typing and event.ascii != "=": + if not self.is_typing and not (event.ascii == "=" or event.type == "BACK_SPACE"): self.number_input = [] if event.type == "BACK_SPACE": diff --git a/src/bonsai/bonsai/bim/module/project/operator.py b/src/bonsai/bonsai/bim/module/project/operator.py index 94d3527854..07a83d439b 100644 --- a/src/bonsai/bonsai/bim/module/project/operator.py +++ b/src/bonsai/bonsai/bim/module/project/operator.py @@ -2434,7 +2434,7 @@ class MeasureTool(bpy.types.Operator): if self.input_type in self.input_options: if (event.ascii in self.number_options) or (event.value == "RELEASE" and event.type == "BACK_SPACE"): - if not self.is_typing and event.ascii != "=": + if not self.is_typing and not (event.ascii == "=" or event.type == "BACK_SPACE"): self.number_input = [] if event.type == "BACK_SPACE":