editor: unset focus on tab change.
Summary: This seems to fix the multiple cursors between underlying tabs. Reviewers: ajwillia.ms Differential Revision: https://phab.enlightenment.org/D5148
This commit is contained in:
parent
7e173bd2c5
commit
8925c72adf
|
@ -267,8 +267,14 @@ _promote(void *data, Evas_Object *obj EINA_UNUSED,
|
|||
const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||
{
|
||||
Edi_Mainview_Panel *panel;
|
||||
Edi_Editor *editor;
|
||||
|
||||
panel = edi_mainview_panel_for_item_get((Edi_Mainview_Item *)data);
|
||||
|
||||
editor = (Edi_Editor *)evas_object_data_get(panel->current->view, "editor");
|
||||
if (editor)
|
||||
elm_object_focus_set(editor->entry, EINA_FALSE);
|
||||
|
||||
edi_mainview_panel_item_select(panel, (Edi_Mainview_Item *)data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue