From 1de019aa4851a8cc92c821d99e80361c1de8e64f Mon Sep 17 00:00:00 2001 From: Antony Male Date: Tue, 22 Apr 2014 14:24:26 +0100 Subject: [PATCH] Default the PropertyChangedDispatcher to Execute.OnUIThread --- Stylet/Execute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stylet/Execute.cs b/Stylet/Execute.cs index acbc177..5d4c90e 100644 --- a/Stylet/Execute.cs +++ b/Stylet/Execute.cs @@ -15,7 +15,7 @@ namespace Stylet public static SynchronizationContext SynchronizationContext; private static bool? inDesignMode; - public static Action DefaultPropertyChangedDispatcher = a => a(); + public static Action DefaultPropertyChangedDispatcher = Execute.OnUIThread; public static void OnUIThread(Action action) {