jaehwan pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=5b4f1d25da013024f510d2cfbf6b8c322420eb04

commit 5b4f1d25da013024f510d2cfbf6b8c322420eb04
Author: Jaehwan Kim <jae.hwan....@samsung.com>
Date:   Mon Dec 5 10:40:18 2016 +0900

    shortcut: save the shortcut after change the key.
    
    By this bug, the changed shortcut become empty after re-executing.
    
    @fix
---
 src/bin/ui/shortcuts/shortcuts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/shortcuts/shortcuts.c b/src/bin/ui/shortcuts/shortcuts.c
index 1e227a0..9b1b11c 100644
--- a/src/bin/ui/shortcuts/shortcuts.c
+++ b/src/bin/ui/shortcuts/shortcuts.c
@@ -673,6 +673,7 @@ shortcuts_shortcut_new_set(Shortcut_Type type, 
Evas_Event_Key_Up *ev)
         shortcut->combination = _combination_string_get(shortcut);
         ap.shortcuts->shortcuts = 
eina_list_sorted_insert(ap.shortcuts->shortcuts,
                                                           (Eina_Compare_Cb) 
_shortcut_cmp, shortcut);
+        ((Profile *)profile_get())->shortcuts = ap.shortcuts->shortcuts;
      }
    else return false;
 

-- 


Reply via email to