Skip to content

Commit

Permalink
Extended the locale fixe to the stored variables into the Ship instance
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe authored and yorikvanhavre committed Jun 1, 2015
1 parent f867db6 commit 3a52249
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Ship/shipCreateShip/TaskPanel.py
Expand Up @@ -49,9 +49,9 @@ def accept(self):
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

Expand Down

0 comments on commit 3a52249

Please sign in to comment.