[longomatch] Remove the changed hotkey from the unavailable hotkeys dictionary
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Remove the changed hotkey from the unavailable hotkeys dictionary
- Date: Mon, 4 Jan 2010 01:19:20 +0000 (UTC)
commit 8efb5b5668c1f44754154e1acb8433befa8e25f1
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Dec 29 19:21:40 2009 +0100
Remove the changed hotkey from the unavailable hotkeys dictionary
LongoMatch/Gui/Dialog/EditCategoryDialog.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Dialog/EditCategoryDialog.cs b/LongoMatch/Gui/Dialog/EditCategoryDialog.cs
index ea0b281..7d8766a 100644
--- a/LongoMatch/Gui/Dialog/EditCategoryDialog.cs
+++ b/LongoMatch/Gui/Dialog/EditCategoryDialog.cs
@@ -58,8 +58,10 @@ namespace LongoMatch.Gui.Dialog
section.HotKey=prevHotKey;
timenodeproperties2.Section=section; //Update Gui
}
- else if (section.HotKey.Defined)
+ else if (section.HotKey.Defined){
+ hkList.Remove(prevHotKey);
hkList.Add(section.HotKey);
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]