浏览代码

Workaround for weird error

frogsoftware 9 月之前
父节点
当前提交
d45a20f94f
共有 1 个文件被更改,包括 8 次插入1 次删除
  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;
                             Dispatcher.Invoke(() =>
                             {
-                                ProcessData(null);
+                                try
+                                {
+                                    ProcessData(null);
+                                }
+                                catch (Exception e)
+                                {
+                                    
+                                }
                                 DoAfterRefresh();
                                 bRefreshing = false;
                                 IsReady = true;