thanatermesis pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=52b59c17551945c81de49d5d9c35319b583fee2e

commit 52b59c17551945c81de49d5d9c35319b583fee2e
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Aug 15 09:46:06 2013 +0100

    highlight correct keybinding when modifying an existing binding
    
    T294
    (cherry picked from commit 900cc00b35fce684c48fcfedf5023b05a91b05db)
    
    Signed-off-by: Thanatermesis <[email protected]>
---
 src/modules/conf_keybindings/e_int_config_keybindings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/conf_keybindings/e_int_config_keybindings.c 
b/src/modules/conf_keybindings/e_int_config_keybindings.c
index dc4079b..fe63895 100644
--- a/src/modules/conf_keybindings/e_int_config_keybindings.c
+++ b/src/modules/conf_keybindings/e_int_config_keybindings.c
@@ -1175,8 +1175,8 @@ _grab_key_down_cb(void *data,
                   if (i++ >= n) break;
                }
 
-             e_widget_ilist_nth_show(cfdata->gui.o_binding_list, n - 1, 1);
-             e_widget_ilist_selected_set(cfdata->gui.o_binding_list, n - 1);
+             e_widget_ilist_nth_show(cfdata->gui.o_binding_list, n, 1);
+             e_widget_ilist_selected_set(cfdata->gui.o_binding_list, n);
           }
         e_object_del(E_OBJECT(cfdata->locals.eg));
      }

-- 


Reply via email to