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
+1
@@ -966,6 +966,7 @@ namespace GrasscutterTools.Forms
private void CopyCommand() private void CopyCommand()
{ {
if (!string.IsNullOrEmpty(TxtCommand.Text))
Clipboard.SetText(TxtCommand.Text); Clipboard.SetText(TxtCommand.Text);
} }