Don't copy query if blank

This commit is contained in:
Garulf 2021-12-02 04:46:26 -05:00
parent 2bd164f11e
commit bf317b8caa

View file

@ -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;
}