netstar pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=5eaf4e3be2066e638943449660aaf1082c68bdf7

commit 5eaf4e3be2066e638943449660aaf1082c68bdf7
Author: Al Poole <nets...@gmail.com>
Date:   Sat Sep 2 11:54:40 2017 +0100

    mainview: also select filepanel on tab focus.
    
    This was bad by me. Found an example with an image. Both instances
    are necessary for uniform behaviour. Sorry.
---
 src/bin/mainview/edi_mainview_panel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/mainview/edi_mainview_panel.c 
b/src/bin/mainview/edi_mainview_panel.c
index 80a7143..50d57ce 100644
--- a/src/bin/mainview/edi_mainview_panel.c
+++ b/src/bin/mainview/edi_mainview_panel.c
@@ -12,6 +12,7 @@
 #include "mainview/edi_mainview_panel.h"
 #include "mainview/edi_mainview.h"
 
+#include "edi_filepanel.h"
 #include "editor/edi_editor.h"
 #include "edi_content_provider.h"
 
@@ -282,6 +283,8 @@ _promote(void *data, Evas_Object *obj EINA_UNUSED,
    editor = (Edi_Editor *)evas_object_data_get(panel->current->view, "editor");
    if (editor)
      elm_object_focus_set(editor->entry, EINA_TRUE);
+
+   edi_filepanel_select_path(item->path);
 }
 
 static void

-- 


Reply via email to