We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f019bb2 commit f992729Copy full SHA for f992729
Flow.Launcher/MainWindow.xaml.cs
@@ -59,9 +59,11 @@ public MainWindow()
59
60
private void OnCopy(object sender, ExecutedRoutedEventArgs e)
61
{
62
- if (QueryTextBox.SelectionLength == 0)
+ var result = _viewModel.Results.SelectedItem?.Result;
63
+ if (QueryTextBox.SelectionLength == 0 && result != null)
64
- _viewModel.ResultCopy(string.Empty);
65
+ string copyText = result.CopyText;
66
+ _viewModel.ResultCopy(copyText);
67
68
}
69
else if (!string.IsNullOrEmpty(QueryTextBox.Text))
0 commit comments