Modified to trigger when the value changes.

This commit is contained in:
Sparrkle 2022-09-15 15:25:20 +09:00
parent 5715dcd946
commit d4ffa93395

View file

@ -21,6 +21,7 @@ using System.Windows.Media;
using Flow.Launcher.Infrastructure.Hotkey;
using Flow.Launcher.Plugin.SharedCommands;
using System.Windows.Data;
using System.Diagnostics;
namespace Flow.Launcher
{
@ -559,8 +560,7 @@ namespace Flow.Launcher
private void QueryTextBox_KeyUp(object sender, KeyEventArgs e)
{
BindingExpression be = QueryTextBox.GetBindingExpression(System.Windows.Controls.TextBox.TextProperty);
be.UpdateSource();
_viewModel.ChangeQueryText(QueryTextBox.Text);
}
}
}