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 694e504 commit 7ada82aCopy full SHA for 7ada82a
1 file changed
Flow.Launcher/MainWindow.xaml.cs
@@ -76,7 +76,8 @@ private void OnPaste(object sender, ExecutedRoutedEventArgs e)
76
{
77
if (System.Windows.Clipboard.ContainsText())
78
79
- _viewModel.ChangeQueryText(System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty));
+ var clipboardText = System.Windows.Clipboard.GetText().Replace("\r\n", " ");
80
+ QueryTextBox.SelectedText = clipboardText;
81
e.Handled = true;
82
}
83
0 commit comments