diff --git a/src/BreCalClient/EditShipDialog.xaml.cs b/src/BreCalClient/EditShipDialog.xaml.cs index 741c1f4..5feeb9b 100644 --- a/src/BreCalClient/EditShipDialog.xaml.cs +++ b/src/BreCalClient/EditShipDialog.xaml.cs @@ -41,8 +41,8 @@ namespace BreCalClient } this.Ship.Imo = this.integerUpDownIMO.Value; this.Ship.Callsign = this.textBoxCallsign.Text.ToUpper().Trim(); - this.Ship.Length = (float?) this.doubleUpDownLength.Value; - this.Ship.Width = (float?) this.doubleUpDownWidth.Value; + this.Ship.Length = this.doubleUpDownLength.Value; + this.Ship.Width = this.doubleUpDownWidth.Value; this.DialogResult = true; this.Close();