Skip to content

Commit e8d4afb

Browse files
committed
Use ChangeQueryText func
1 parent db6e541 commit e8d4afb

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
@@ -76,7 +76,7 @@ private void OnPaste(object sender, ExecutedRoutedEventArgs e)
7676
{
7777
if (System.Windows.Clipboard.ContainsText())
7878
{
79-
_viewModel.QueryText = System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty);
79+
_viewModel.ChangeQueryText(System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty));
8080
e.Handled = true;
8181
}
8282
}

0 commit comments

Comments
 (0)