mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-20 19:39:47 +08:00
fix connect command issue
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user