Explorar o código

Workaround for weird error

frogsoftware hai 9 meses
pai
achega
d45a20f94f
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      inabox.wpf/DynamicGrid/DynamicGrid.cs

+ 8 - 1
inabox.wpf/DynamicGrid/DynamicGrid.cs

@@ -1074,7 +1074,14 @@ public abstract class DynamicGrid<T> : DynamicGrid, IDynamicGridUIComponentParen
                             MasterData = table;
                             MasterData = table;
                             Dispatcher.Invoke(() =>
                             Dispatcher.Invoke(() =>
                             {
                             {
-                                ProcessData(null);
+                                try
+                                {
+                                    ProcessData(null);
+                                }
+                                catch (Exception e)
+                                {
+                                    
+                                }
                                 DoAfterRefresh();
                                 DoAfterRefresh();
                                 bRefreshing = false;
                                 bRefreshing = false;
                                 IsReady = true;
                                 IsReady = true;