|
@@ -772,6 +772,19 @@ namespace InABox.Avalonia
|
|
|
{
|
|
{
|
|
|
_table.Rows.Remove(item.Row);
|
|
_table.Rows.Remove(item.Row);
|
|
|
AllItems.Remove(item);
|
|
AllItems.Remove(item);
|
|
|
|
|
+ SaveToStorage();
|
|
|
|
|
+ Search();
|
|
|
|
|
+ NotifyChanged();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public virtual void DeleteItems(IEnumerable<TItem> items)
|
|
|
|
|
+ {
|
|
|
|
|
+ foreach(var item in items)
|
|
|
|
|
+ {
|
|
|
|
|
+ _table.Rows.Remove(item.Row);
|
|
|
|
|
+ AllItems.Remove(item);
|
|
|
|
|
+ }
|
|
|
|
|
+ SaveToStorage();
|
|
|
Search();
|
|
Search();
|
|
|
NotifyChanged();
|
|
NotifyChanged();
|
|
|
}
|
|
}
|