Extended the locale fixe to the stored variables into the Ship instance

This commit is contained in:
J.L. Cercos-Pita 2015-05-31 18:43:35 +02:00 committed by Yorik van Havre
parent f867db6f71
commit 3a52249400

View File

@ -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