diff --git a/GUI.NET/Debugger/Controls/ctrlTextHooker.cs b/GUI.NET/Debugger/Controls/ctrlTextHooker.cs index 82bad7ab..c9c6b663 100644 --- a/GUI.NET/Debugger/Controls/ctrlTextHooker.cs +++ b/GUI.NET/Debugger/Controls/ctrlTextHooker.cs @@ -155,7 +155,7 @@ namespace Mesen.GUI.Debugger.Controls } txtSelectedText.Text = output.ToString(); - if(chkAutoCopyToClipboard.Checked) { + if(chkAutoCopyToClipboard.Checked && !string.IsNullOrWhiteSpace(txtSelectedText.Text)) { Clipboard.SetText(txtSelectedText.Text); } }