mainview: fix bug when key-comb switching tabs.

We need to ensure we focus the editor itself as well as the tab
here. This fixues an issue with cursor show/hide with focus and
unfocus.
This commit is contained in:
Alastair Poole 2020-08-10 13:11:45 +01:00
parent 63f03c5ef5
commit e402ed997e
1 changed files with 1 additions and 0 deletions

View File

@ -371,6 +371,7 @@ edi_mainview_panel_item_select(Edi_Mainview_Panel *panel, Edi_Mainview_Item *ite
}
edi_mainview_panel_focus(panel);
_edi_mainview_panel_current_tab_show(panel);
ecore_event_add(EDI_EVENT_TAB_CHANGED, NULL, NULL, NULL);
}