summaryrefslogtreecommitdiff
path: root/Aktywator/Tournament.cs
diff options
context:
space:
mode:
authorMichał Zimniewicz <michzimny@users.noreply.github.com>2018-01-04 01:19:50 +0100
committerGitHub <noreply@github.com>2018-01-04 01:19:50 +0100
commitfa8e46acc24c5cf8b607531684b4c9858e4ebb33 (patch)
treeb81ddbc9cef517446232e007b9e287152e504235 /Aktywator/Tournament.cs
parent80cd31c1c8e7cef2cfbf6148df3d9ec2d2a23279 (diff)
parentf58213dbf8b1d52f9545a7c3b227cff59a888afb (diff)
Merge pull request #36 from michzimny/1.1-betav1.1.3
v1.1.3
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))
{