Extended the locale fixe to the stored variables into the Ship instance
This commit is contained in:
parent
f867db6f71
commit
3a52249400
|
@ -49,9 +49,9 @@ class TaskPanel:
|
|||
form.breadth = self.widget(QtGui.QLineEdit, "Breadth")
|
||||
form.draft = self.widget(QtGui.QLineEdit, "Draft")
|
||||
|
||||
obj.Length = form.length.text()
|
||||
obj.Breadth = form.breadth.text()
|
||||
obj.Draft = form.draft.text()
|
||||
obj.Length = Locale.fromString(form.length.text())
|
||||
obj.Breadth = Locale.fromString(form.breadth.text())
|
||||
obj.Draft = Locale.fromString(form.draft.text())
|
||||
App.ActiveDocument.recompute()
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user