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.
This commit is contained in:
Al Poole 2017-09-02 11:54:40 +01:00
parent 514e472cd1
commit 5eaf4e3be2
1 changed files with 3 additions and 0 deletions

View File

@ -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