rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=f881f4026130512a19f20dadc12df93ec7bf33bf

commit f881f4026130512a19f20dadc12df93ec7bf33bf
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Wed Sep 14 16:48:52 2016 +0300

    tabs: do not unload if Home tab is getting closed
    
    @fix
---
 src/bin/ui/tabs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index 8e2ea00..031a2fa 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -1111,9 +1111,10 @@ _tab_close(void *data,
 
    if (!item) return;
 
-   resource_group_edit_object_unload(tabs.current_group2);
 
    tabs.items = eina_list_remove(tabs.items, item);
+   if (tabs.current_group2)
+     resource_group_edit_object_unload(tabs.current_group2);
    tabs.current_workspace = NULL;
    tabs.current_group = NULL;
    tabs.current_group2 = NULL;

-- 


Reply via email to