From dba3b9371cceef2b2af4545f858433c1e8c5e13b Mon Sep 17 00:00:00 2001 From: Jake Norbut Date: Wed, 30 Jan 2019 14:27:00 -0600 Subject: [PATCH] hopefully use the right Dispatcher this time --- .../Controls/TickUpDown/TickUpDownNullableUIntCommit.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/spark/view/Controls/TickUpDown/TickUpDownNullableUIntCommit.xaml.cs b/src/client/spark/view/Controls/TickUpDown/TickUpDownNullableUIntCommit.xaml.cs index 9804a1a5d..6a31c60d6 100644 --- a/src/client/spark/view/Controls/TickUpDown/TickUpDownNullableUIntCommit.xaml.cs +++ b/src/client/spark/view/Controls/TickUpDown/TickUpDownNullableUIntCommit.xaml.cs @@ -31,7 +31,7 @@ namespace mbts.ui.controls { private static void source_value_changed(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d is TickUpDownNullableUIntCommit _instance_of_me) { - Application.Current.Dispatcher.BeginInvoke( + _instance_of_me.Dispatcher.BeginInvoke( (Action)(() => _instance_of_me.OnCommit?.TryRaiseCanExecuteChanged()) ); }