Skip to content

Commit 54df39c

Browse files
committed
Fixed QueryTextBox Binding Error.
1 parent ee44b4c commit 54df39c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,10 @@ public void InitializeColorScheme()
561561
private void QueryTextBox_KeyUp(object sender, KeyEventArgs e)
562562
{
563563
if(_viewModel.QueryText != QueryTextBox.Text)
564-
_viewModel.QueryText = QueryTextBox.Text;
564+
{
565+
BindingExpression be = QueryTextBox.GetBindingExpression(System.Windows.Controls.TextBox.TextProperty);
566+
be.UpdateSource();
567+
}
565568
}
566569
}
567570
}

0 commit comments

Comments
 (0)