From 6143e0cfc1f669df23ac7c32854a32b0126bc3c9 Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Sat, 29 Nov 2014 18:24:56 +0000 Subject: [PATCH] Fix issue where first tap on bottom toolbar would not open the correct tab --- src/bin/edi_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/edi_main.c b/src/bin/edi_main.c index 6f962a5..05ba4e9 100644 --- a/src/bin/edi_main.c +++ b/src/bin/edi_main.c @@ -117,12 +117,14 @@ _edi_toggle_panel(void *data, Evas_Object *obj, void *event_info) void edi_consolepanel_show() { - elm_toolbar_item_selected_set(_edi_consolepanel_item, EINA_TRUE); + if (_edi_selected_bottompanel != _edi_consolepanel_item) + elm_toolbar_item_selected_set(_edi_consolepanel_item, EINA_TRUE); } void edi_testpanel_show() { - elm_toolbar_item_selected_set(_edi_testpanel_item, EINA_TRUE); + if (_edi_selected_bottompanel != _edi_testpanel_item) + elm_toolbar_item_selected_set(_edi_testpanel_item, EINA_TRUE); } static Evas_Object *