summaryrefslogtreecommitdiff
path: root/Aktywator/Tournament.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-12-28 02:13:55 +0100
committeremkael <emkael@tlen.pl>2017-12-28 02:13:55 +0100
commit511333516d2e08daa9d6b148f5e908d63dc89238 (patch)
tree0b97188580d01b2b42e4515dfca96faebf286cd6 /Aktywator/Tournament.cs
parent80cd31c1c8e7cef2cfbf6148df3d9ec2d2a23279 (diff)
parent4f5d46d5a077fa47b44f8987552f7e58a7e2f65d (diff)
Merge branch '1.1-beta' into emkaelv1.1.2.9
Diffstat (limited to 'Aktywator/Tournament.cs')
-rw-r--r--Aktywator/Tournament.cs6
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))
{