[longomatch] Use team name from template



commit 2b24e1617a91c0d359466632ad0ec97479cb0d09
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Dec 19 23:57:54 2011 +0100

    Use team name from template

 LongoMatch.GUI/Gui/MainWindow.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/MainWindow.cs b/LongoMatch.GUI/Gui/MainWindow.cs
index dd6aa19..b52db74 100644
--- a/LongoMatch.GUI/Gui/MainWindow.cs
+++ b/LongoMatch.GUI/Gui/MainWindow.cs
@@ -314,8 +314,8 @@ namespace LongoMatch.Gui
 			
 			/* Update tabs labels */
 			var desc = project.Description;
-			visitorteamlabel.Text = desc.VisitorName;
-			localteamlabel.Text = desc.LocalName;
+			visitorteamlabel.Text = project.LocalTeamTemplate.TeamName;
+			localteamlabel.Text = project.LocalTeamTemplate.TeamName;
 			
 			ExportProjectAction1.Sensitive = true;
 			
@@ -355,7 +355,7 @@ namespace LongoMatch.Gui
 			if(projectType == ProjectType.CaptureProject) {
 				capturer.Close();
 				player.Visible = true;
-				capturer.Visible = false;;
+				capturer.Visible = false;
 				EmitSaveProject();
 			} else if(projectType == ProjectType.FakeCaptureProject) {
 				EmitCloseOpenedProject(true);



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