[longomatch] Preset a different team in the new projects panel by default
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Preset a different team in the new projects panel by default
- Date: Tue, 5 May 2015 09:11:13 +0000 (UTC)
commit ee12f22b7e1d3c3f106fb1a02294de5293fb243e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon May 4 18:47:05 2015 +0200
Preset a different team in the new projects panel by default
LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
index 0203dde..b5f8245 100644
--- a/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/NewProjectPanel.cs
@@ -197,7 +197,7 @@ namespace LongoMatch.Gui.Panel
}
hometeamscombobox.Active = 0;
- awayteamscombobox.Active = 0;
+ awayteamscombobox.Active = teams.Count == 1 ? 0 : 1;
}
void ConnectSignals ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]