OSDN Git Service
(root)
/
kancollesniffer
/
KancolleSniffer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4db857
)
一度も一覧ウィンドウを表示せずに終了するとエラーになるのを直す
author
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Sun, 21 Apr 2019 06:00:02 +0000
(15:00 +0900)
committer
Kazuhiro Fujieda
<fujieda@users.osdn.me>
Sun, 21 Apr 2019 06:00:02 +0000
(15:00 +0900)
KancolleSniffer/ListForm.cs
patch
|
blob
|
history
diff --git
a/KancolleSniffer/ListForm.cs
b/KancolleSniffer/ListForm.cs
index
9dedcee
..
fe83e5a
100644
(file)
--- a/
KancolleSniffer/ListForm.cs
+++ b/
KancolleSniffer/ListForm.cs
@@
-242,6
+242,8
@@
namespace KancolleSniffer
private void ShipListForm_FormClosing(object sender, FormClosingEventArgs e)
\r
{
\r
e.Cancel = true;
\r
+ if (!Visible) // 非表示のときは保存すべき情報がないのでスキップする
\r
+ return;
\r
if (e.CloseReason == CloseReason.FormOwnerClosing)
\r
return;
\r
var config = _config.ShipList;
\r