Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568588f
)
Issue #1440 Crash when edit box with parameter: height of the box using parameter...
author
nds
<nds@opencascade.com>
Tue, 26 Apr 2016 07:16:27 +0000
(10:16 +0300)
committer
nds
<nds@opencascade.com>
Tue, 26 Apr 2016 07:16:27 +0000
(10:16 +0300)
src/PythonAddons/macros/box/feature.py
patch
|
blob
|
history
diff --git
a/src/PythonAddons/macros/box/feature.py
b/src/PythonAddons/macros/box/feature.py
index 6341e432ac8830fcad815ec562058f0ccc85dd33..8651ac5ea308677bc68b8edc9261fdc93ee2aef3 100644
(file)
--- 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)