We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb1a08 commit 5b24425Copy full SHA for 5b24425
Source/GrasscutterTools/Forms/FormMain.cs
@@ -517,10 +517,11 @@ private void AddCommandToList(string command = "")
517
private void SetCommand(string command, string args)
518
{
519
if (!string.IsNullOrEmpty(args))
520
- command = command + ' ' + args;
521
- SetCommand(Settings.Default.IsIncludeUID
522
- ? $"{command} @{Settings.Default.Uid}"
523
- : command);
+ command = $"{command} {args}";
+ command = command.Trim();
+ if (Settings.Default.IsIncludeUID)
+ command = $"{command} @{Settings.Default.Uid}";
524
+ SetCommand(command);
525
}
526
527
/// <summary>
0 commit comments