Fixed QueryTextBox Binding Error.

This commit is contained in:
Sparrkle 2022-09-21 20:13:50 +09:00
parent ee44b4c2d4
commit 54df39c01c

View file

@ -561,7 +561,10 @@ namespace Flow.Launcher
private void QueryTextBox_KeyUp(object sender, KeyEventArgs e)
{
if(_viewModel.QueryText != QueryTextBox.Text)
_viewModel.QueryText = QueryTextBox.Text;
{
BindingExpression be = QueryTextBox.GetBindingExpression(System.Windows.Controls.TextBox.TextProperty);
be.UpdateSource();
}
}
}
}