Use ChangeQueryText func

This commit is contained in:
Garulf 2023-12-26 09:59:01 -05:00
parent db6e54160f
commit e8d4afbf31

View file

@ -76,7 +76,7 @@ namespace Flow.Launcher
{ {
if (System.Windows.Clipboard.ContainsText()) if (System.Windows.Clipboard.ContainsText())
{ {
_viewModel.QueryText = System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty); _viewModel.ChangeQueryText(System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty));
e.Handled = true; e.Handled = true;
} }
} }