[longomatch] Fix plays menu in the timeline



commit 0d5e008a87c4069561c888ab20f012936b856dc9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Oct 22 02:45:46 2014 +0200

    Fix plays menu in the timeline

 LongoMatch.Drawing/Widgets/PlaysTimeline.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/PlaysTimeline.cs b/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
index b97caf7..7fdba2f 100644
--- a/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
+++ b/LongoMatch.Drawing/Widgets/PlaysTimeline.cs
@@ -282,7 +282,7 @@ namespace LongoMatch.Drawing.Widgets
 
                protected override void ShowMenu (Point coords)
                {
-                       if (Selections.Count > 1 && Selections.Last ().Drawable is PlayObject) {
+                       if (Selections.Count >= 1 && Selections.Last ().Drawable is PlayObject) {
                                ShowPlaysMenu (coords);
                        } else {
                                ShowTimersMenu (coords);


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