Fixed bad integer usage

This commit is contained in:
Jose Luis Cercos-Pita 2014-07-11 16:56:53 +02:00 committed by wmayer
parent cf01937d1c
commit aa1c957eb9

View File

@ -264,7 +264,7 @@ class TaskPanel:
try:
props.index("HydrostaticsNDraft")
form.nDraft.setValue(self.ship.HydrostaticsNDraft.Value)
form.nDraft.setValue(self.ship.HydrostaticsNDraft)
except ValueError:
pass