浏览代码

Moved DoChanged to after the Refresh

Kenric Nugteren 7 月之前
父节点
当前提交
4ddad13822
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      inabox.wpf/DynamicGrid/Grids/DynamicGrid.cs

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

@@ -1507,8 +1507,8 @@ public abstract class DynamicGrid<T> : DynamicGrid, IDynamicGridUIComponentParen
                 {
                 {
                     DeleteItems(rows);
                     DeleteItems(rows);
                     SelectedRows = Array.Empty<CoreRow>();
                     SelectedRows = Array.Empty<CoreRow>();
-                    DoChanged();
                     Refresh(false, true);
                     Refresh(false, true);
+                    DoChanged();
                     SelectItems(null);
                     SelectItems(null);
                 }
                 }
     }
     }