Skip to content

Commit

Permalink
LT-20815: Change Send/Receive Settings dialog size
Browse files Browse the repository at this point in the history
Changed the size of the Send/Receive Settings dialog so some
controls are not cut off.  Also populate the ‘Project Id’ combo
box if there is only one valid option.
  • Loading branch information
mark-sil authored and jasonleenaylor committed Oct 27, 2021
1 parent 6779090 commit ce80374
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions src/Chorus/UI/Misc/ServerSettingsControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ private void UpdateProjectIds()
{
_projectId.SelectedItem = currentVal;
}
else if (Model.AvailableProjects.Count == 1)
_projectId.SelectedItem = Model.AvailableProjects[0];

}

private void _customUrl_TextChanged(object sender, EventArgs e)
Expand Down
16 changes: 8 additions & 8 deletions src/Chorus/UI/Settings/SendReceiveSettings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ce80374

Please sign in to comment.