• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionf4f39c7c608df129b1c00aeccd94ffa795502c43 (tree)
Time2020-09-27 21:56:30
AuthorKazuhiro Fujieda <fujieda@user...>
CommiterKazuhiro Fujieda

Log Message

分類でグループから艦娘を外せないことがあるのを直す

Change Summary

Incremental Difference

--- a/KancolleSniffer/View/ShipListPanel/GroupConfigLabels.cs
+++ b/KancolleSniffer/View/ShipListPanel/GroupConfigLabels.cs
@@ -91,14 +91,9 @@ namespace KancolleSniffer.View.ShipListPanel
9191 var cb = (CheckBox)sender;
9292 var group = (int)cb.Tag % 10;
9393 var idx = (int)cb.Tag / 10;
94+ GroupSettings[group].RemoveAll(id => id == _shipListPanel.GetShip(idx).Id);
9495 if (cb.Checked)
95- {
9696 GroupSettings[group].Add(_shipListPanel.GetShip(idx).Id);
97- }
98- else
99- {
100- GroupSettings[group].Remove(_shipListPanel.GetShip(idx).Id);
101- }
10297 GroupUpdated = true;
10398 }
10499