hopefully use the right Dispatcher this time

This commit is contained in:
Jake Norbut authored and Pedro Pinto committed 2019-02-11 16:48:53 -05:00
1 parent aadfe2a677
commit dba3b9371c
1 file changed
+1 -1
@@ -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())
);
}