ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=6143e0cfc1f669df23ac7c32854a32b0126bc3c9

commit 6143e0cfc1f669df23ac7c32854a32b0126bc3c9
Author: Andy Williams <[email protected]>
Date:   Sat Nov 29 18:24:56 2014 +0000

    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 *

-- 


Reply via email to