OSDN Git Service

設定ファイルをこまめに保存する
[kancollesniffer/KancolleSniffer.git] / KancolleSniffer / ShipListPanel.cs
index 41c2e95..33e7be8 100644 (file)
@@ -40,6 +40,7 @@ namespace KancolleSniffer
 \r
         public const int GroupCount = 4;\r
         public HashSet<int>[] GroupSettings { get; } = new HashSet<int>[GroupCount];\r
+        public bool GroupUpdated { get; set; }\r
 \r
         public ScrollBar ScrollBar { get; }\r
 \r
@@ -293,6 +294,7 @@ namespace KancolleSniffer
             {\r
                 GroupSettings[group].Remove(_shipList[idx + ScrollBar.Value].Id);\r
             }\r
+            GroupUpdated = true;\r
         }\r
 \r
         private void CreateRepairLabels(int i)\r