Fix Empty Copy (#47)

This commit is contained in:
jie65535 committed 2022-05-21 19:49:51 +08:00
1 parent 166f0b5fda
commit 110c1017e7
1 file changed
+2 -1
+2 -1
View File
@@ -966,7 +966,8 @@ namespace GrasscutterTools.Forms
private void CopyCommand()
{
Clipboard.SetText(TxtCommand.Text);
if (!string.IsNullOrEmpty(TxtCommand.Text))
Clipboard.SetText(TxtCommand.Text);
}
private void OnOpenCommandInvoke()