[longomatch/newui: 74/104] Nationality was not filled from the proper	field.
- From: Andoni Morales Alastruey <amorales src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [longomatch/newui: 74/104] Nationality was not filled from the proper	field.
 
- Date: Wed, 27 Aug 2014 08:55:13 +0000 (UTC)
 
commit 672e7fd1cd3fb51a90de6f96b6b2a4e0c4293658
Author: Julien Moutte <julien fluendo com>
Date:   Fri Aug 22 17:21:22 2014 +0200
    Nationality was not filled from the proper field.
 LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs 
b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
index 7a33e3d..019126b 100644
--- a/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
+++ b/LongoMatch.GUI/Gui/Component/TeamTemplateEditor.cs
@@ -186,7 +186,7 @@ namespace LongoMatch.Gui.Component
                        numberspinbutton.Value = p.Number;
                        heightspinbutton.Value = p.Height;
                        weightspinbutton.Value = p.Weight;
-                       nationalityentry.Text = p.Number.ToString();
+                       nationalityentry.Text = p.Nationality != null ? p.Nationality : "";
                        bdaydatepicker.Date = p.Birthday;
                        mailentry.Text = p.Mail != null ? p.Mail : "";
                        playerimage.Pixbuf = PlayerPhoto (p);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]