mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-08 23:19:14 +08:00
fix connect command issue
This commit is contained in:
parent
59af1e468d
commit
a8a0a14713
@ -207,7 +207,9 @@ namespace GrasscutterTools.Forms
|
||||
{
|
||||
Logger.I(TAG, $"SetCommand(\"{command}\")");
|
||||
var oldCommand = CmbCommand.Text;
|
||||
CmbCommand.Text = (ModifierKeys == Keys.Shift) ? $"{oldCommand} | {command}" : command;
|
||||
CmbCommand.Text = (ModifierKeys == Keys.Shift) ?
|
||||
(string.IsNullOrEmpty(oldCommand) ? command : $"{oldCommand} | {command}")
|
||||
: command;
|
||||
if (ChkAutoCopy.Checked)
|
||||
CopyCommand();
|
||||
AddCommandToList(command);
|
||||
|
Loading…
Reference in New Issue
Block a user