diff options
author | emkael <emkael@tlen.pl> | 2017-12-28 02:13:55 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-12-28 02:13:55 +0100 |
commit | 511333516d2e08daa9d6b148f5e908d63dc89238 (patch) | |
tree | 0b97188580d01b2b42e4515dfca96faebf286cd6 /Aktywator/Tournament.cs | |
parent | 80cd31c1c8e7cef2cfbf6148df3d9ec2d2a23279 (diff) | |
parent | 4f5d46d5a077fa47b44f8987552f7e58a7e2f65d (diff) |
Merge branch '1.1-beta' into emkaelv1.1.2.9
Diffstat (limited to 'Aktywator/Tournament.cs')
-rw-r--r-- | Aktywator/Tournament.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Aktywator/Tournament.cs b/Aktywator/Tournament.cs index 117b1da..d6da2d4 100644 --- a/Aktywator/Tournament.cs +++ b/Aktywator/Tournament.cs @@ -43,6 +43,12 @@ namespace Aktywator virtual public void displayNameList(DataGridView grid) { Dictionary<int, List<string>> names = this.getNameList(); + if (names.Count == 0) + { + MessageBox.Show( + "Lista pobranych nazwisk jest pusta - być może coś poszło nie tak przy ich pobieraniu.", + "Pusta lista nazwisk", MessageBoxButtons.OK, MessageBoxIcon.Warning); + } foreach (KeyValuePair<int, List<string>> item in names) { if (!this.updateNameListRow(grid, item.Key, item.Value)) { |