diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs index ebc3dc874..1afb2848f 100644 --- a/Flow.Launcher/MainWindow.xaml.cs +++ b/Flow.Launcher/MainWindow.xaml.cs @@ -60,9 +60,9 @@ namespace Flow.Launcher } } - else + else if (!String.IsNullOrEmpty(QueryTextBox.Text)) { - System.Windows.Clipboard.SetDataObject(QueryTextBox.SelectedText;); + System.Windows.Clipboard.SetDataObject(QueryTextBox.SelectedText); } e.Handled = true; }