瀏覽代碼

Я устал

Danila Alekseev 2 年之前
父節點
當前提交
9deac101b3
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      LR1/Workers.xaml.cs

+ 3 - 2
LR1/Workers.xaml.cs

@@ -85,8 +85,9 @@ namespace LR1
                 MessageBox.Show("Выберите строку для удаления");
             }
             MessageBox.Show("Удаление");
-            isDirty = false;
-            isLoaded = true;
+            isDirty = true;
+            isLoaded = false;
+
         }
 
         private void AddCommandBinding_CanExecute(object sender, CanExecuteRoutedEventArgs e)