Browse Source

Fixed bug with SelectedItems

Kenric Nugteren 4 tháng trước cách đây
mục cha
commit
e961c8daaf
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      InABox.Avalonia/DataModels/CoreRepository.cs

+ 2 - 2
InABox.Avalonia/DataModels/CoreRepository.cs

@@ -363,7 +363,7 @@ namespace InABox.Avalonia
         
         public void SelectNone()
         {
-            foreach(var item in Items)
+            foreach(var item in AllItems)
             {
                 item.IsSelected = false;
             }
@@ -372,7 +372,7 @@ namespace InABox.Avalonia
 
         public void SelectAll()
         {
-            foreach(var item in Items)
+            foreach(var item in AllItems)
             {
                 item.IsSelected = true;
             }