Skip to content

Commit dee7900

Browse files
Leading and traling spaces removed from route when leaving the field
1 parent 7e6fb60 commit dee7900

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Menu/ContentForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ private void textBoxManualInstallRoute_TextChanged(object sender, EventArgs e)
14531453

14541454
private void textBoxManualInstallRoute_Leave(object sender, EventArgs e)
14551455
{
1456-
string route = textBoxManualInstallRoute.Text;
1456+
string route = textBoxManualInstallRoute.Text.Trim();
14571457
textBoxManualInstallRoute.Text = determineUniqueRoute(route);
14581458
if (textBoxManualInstallRoute.Text != route)
14591459
{

0 commit comments

Comments
 (0)