hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=db198e890152977835e9cccad4865aa926c53e78

commit db198e890152977835e9cccad4865aa926c53e78
Author: Taehyub Kim <taehyub....@samsung.com>
Date:   Mon Sep 19 17:26:44 2016 +0900

    search: fix the wrong replace behavior
    
    Summary: fix the wrong behavior of replace logic
    
    Test Plan:
    1. launch enventor with basic template
    2. open search window
    3. input part keyword to the find entry
    4. input some text to the replace with entry
    5. press next button and find part keyword
    6. press replace button again and again until all of keyword are changed
    7. check it is working correctly
    
    Reviewers: Jaehyun_Cho, NikaWhite, bowonryu, Hermet
    
    Differential Revision: https://phab.enlightenment.org/D4299
---
 src/bin/search.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/search.c b/src/bin/search.c
index 12a7453..6cd821c 100644
--- a/src/bin/search.c
+++ b/src/bin/search.c
@@ -228,6 +228,7 @@ replace_proc(search_data *sd)
    if (strcmp(find, utf8)) return EINA_FALSE;
    const char *replace = elm_entry_entry_get(sd->en_replace);
    enventor_item_text_insert(sd->it, replace);
+   enventor_item_select_none(sd->it);
    free(utf8);
    return EINA_TRUE;
 }

-- 


Reply via email to