]> O.S.I.I.S - jp/crow.git/commitdiff
restore locking in datasource change to layoutMtx
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Wed, 21 Aug 2019 14:04:21 +0000 (16:04 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Wed, 21 Aug 2019 14:04:21 +0000 (16:04 +0200)
Crow/src/GraphicObjects/Widget.cs

index d85ddfaac4f09b570a14f9ee3aed4db54159b156..663cb26e085149bd950a1467cedc78be3532fc2a 100644 (file)
@@ -1007,7 +1007,7 @@ namespace Crow
                                #if DEBUG_LOG
                                DbgEvent dbgEvt = DebugLog.AddEvent(DbgEvtType.GOLockLayouting, this);
                                #endif
-                               lock (IFace.UpdateMutex) {
+                               lock (IFace.LayoutMutex) {
                                        OnDataSourceChanged (this, dse);
                                        NotifyValueChanged ("DataSource", DataSource);
                                }