Skip to content

Commit

Permalink
Fix for port assignment bug (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
PFarqMS authored Jan 12, 2024
1 parent 1d2ee50 commit d204951
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void DeserializeFrom(JsonElement serializedObject)
public bool IsRunning { get => _isRunning; set { _isRunning = value; RaisePropertyChange(); } }
public UInt16 Port { get => _parameters.Port; set { _parameters.Port = value; RaisePropertyChange(); } }
public bool PromptToDisableOnClose { get => _parameters.PromptToDisableOnClose; set { _parameters.PromptToDisableOnClose = value; RaisePropertyChange(); } }
public bool IsPortValid { get => Port >= 0; }
public bool IsPortValid { get => Port > 0; }

// NOTE: this is an 'object' because the parameters are
// serialized/deserialized and the Json serializer
Expand Down

0 comments on commit d204951

Please sign in to comment.