Kaydet (Commit) 38f2f67b authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix clearing a shortcut when overriding it in Prefs dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2300 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 41dc0112
......@@ -2,6 +2,7 @@
* src/prefs.c:
Fix segfault when setting custom keybindings in Prefs dialog.
Fix clearing a shortcut when overriding it in Prefs dialog.
2008-02-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -1241,7 +1241,7 @@ static void clear_tree_shortcut(gsize group_id, gsize keybinding_id)
return;
/* find child kb node*/
if (! find_child_iter(&parent, group_id, &child))
if (! find_child_iter(&parent, keybinding_id, &child))
return;
gtk_tree_store_set(store, &child, KB_TREE_SHORTCUT, NULL, -1); /* clear shortcut */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment