[longomatch] Show the template name instead of the team display name



commit 9b5c1e23d9601c4b0501655f71be0fd1f0b15718
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon May 4 18:46:13 2015 +0200

    Show the template name instead of the team display name
    
    The first one is unique, while 2 teams can have the same
    display name

 LongoMatch.GUI/Gui/Component/TeamsComboBox.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/TeamsComboBox.cs b/LongoMatch.GUI/Gui/Component/TeamsComboBox.cs
index a50266f..cbce165 100644
--- a/LongoMatch.GUI/Gui/Component/TeamsComboBox.cs
+++ b/LongoMatch.GUI/Gui/Component/TeamsComboBox.cs
@@ -62,7 +62,7 @@ namespace LongoMatch.Gui.Component
                                } else {
                                        shield = t.Shield.Scale (size, size).Value;
                                }
-                               store.AppendValues (shield, t.TeamName, t);
+                               store.AppendValues (shield, t.Name, t);
                        }
                        SetAttributes (texrender, "text", 1);
                        SetAttributes (pixrender, "pixbuf", 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]