Skip to content

Commit c631895

Browse files
committed
Copy selected query text if there is a selection
1 parent 488c8e8 commit c631895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private void OnCopy(object sender, ExecutedRoutedEventArgs e)
6868
}
6969
else if (!string.IsNullOrEmpty(QueryTextBox.Text))
7070
{
71-
_viewModel.ResultCopy(QueryTextBox.SelectedText);
71+
System.Windows.Clipboard.SetText(QueryTextBox.SelectedText);
7272
}
7373
}
7474

0 commit comments

Comments
 (0)