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 4856bd5f10
commit a9685303f4

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