[longomatch] Fix plays menu in the timeline
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix plays menu in the timeline
- Date: Tue, 28 Oct 2014 09:51:33 +0000 (UTC)
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]