[longomatch] Play: fix assignment of the key drawing
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Play: fix assignment of the key drawing
- Date: Tue, 23 Oct 2012 18:37:55 +0000 (UTC)
commit 9ff302a6c579c4e9bcc6ca4882bf8ec24f037857
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Oct 23 20:37:24 2012 +0200
Play: fix assignment of the key drawing
LongoMatch.Core/Store/Play.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Play.cs b/LongoMatch.Core/Store/Play.cs
index dcdd599..60c1f3b 100644
--- a/LongoMatch.Core/Store/Play.cs
+++ b/LongoMatch.Core/Store/Play.cs
@@ -133,7 +133,10 @@ namespace LongoMatch.Store
else
return null;
} set {
- Drawings[0] = value;
+ if (Drawings.Count == 0)
+ Drawings.Add (value);
+ else
+ Drawings[0] = value;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]