From 00c9089cb6918a35da71778d2c32f663506e1529 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 26 Apr 2016 10:16:27 +0300 Subject: [PATCH] Issue #1440 Crash when edit box with parameter: height of the box using parameter text --- src/PythonAddons/macros/box/feature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PythonAddons/macros/box/feature.py b/src/PythonAddons/macros/box/feature.py index 6341e432a..8651ac5ea 100644 --- a/src/PythonAddons/macros/box/feature.py +++ b/src/PythonAddons/macros/box/feature.py @@ -100,7 +100,7 @@ class BoxFeature(model.Feature): else: self.base.setText(self.width, width_text) - if length_text != "": + if length_text == "": self.base.setValue(self.length, length) else: self.base.setText(self.length, length_text) -- 2.39.2