[longomatch] Fix Hotkey getter
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix Hotkey getter
- Date: Wed, 18 Mar 2015 14:34:28 +0000 (UTC)
commit 30a8150af5276b266c0650f87de20c195ef98637
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Mar 2 14:41:02 2015 +0100
Fix Hotkey getter
LongoMatch.Core/Store/DashboardButton.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/Store/DashboardButton.cs b/LongoMatch.Core/Store/DashboardButton.cs
index 02bc949..3b69f04 100644
--- a/LongoMatch.Core/Store/DashboardButton.cs
+++ b/LongoMatch.Core/Store/DashboardButton.cs
@@ -136,7 +136,7 @@ namespace LongoMatch.Core.Store
public override HotKey HotKey {
get {
- return Tag.HotKey;
+ return Tag != null ? Tag.HotKey : null;
}
set {
if (Tag != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]