hopefully use the right Dispatcher this time
This commit is contained in:
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())
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user