rimmed pushed a commit to branch master.

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

commit a47b57733f53f8274d16ffdc2c63be624d1a6d12
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Fri Oct 2 10:31:36 2015 +0300

    project_close: move switch to open_tab to menu
---
 src/bin/ui/menu.c          | 1 +
 src/bin/ui/project_close.c | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/menu.c b/src/bin/ui/menu.c
index fd11cfb..fd56166 100644
--- a/src/bin/ui/menu.c
+++ b/src/bin/ui/menu.c
@@ -122,6 +122,7 @@ _menu_cb(void *data __UNUSED__,
       case MENU_FILE_CLOSE_PROJECT:
            {
               if (!project_close()) break;
+              tabs_menu_tab_open(TAB_HOME_OPEN_PROJECT);
               ui_menu_items_list_disable_set(ap.menu, MENU_ITEMS_LIST_BASE, 
true);
               ui_menu_items_list_disable_set(ap.menu, 
MENU_ITEMS_LIST_STYLE_ONLY, true);
               ui_menu_disable_set(ap.menu, MENU_FILE_SAVE, true);
diff --git a/src/bin/ui/project_close.c b/src/bin/ui/project_close.c
index 61d0ad6..04f9aff 100644
--- a/src/bin/ui/project_close.c
+++ b/src/bin/ui/project_close.c
@@ -105,7 +105,6 @@ project_close(void)
    //ui_property_style_unset(Evas_Object *property);
    //ui_signal_list_data_unset(Evas_Object *object);
    //history_clear(History *history);
-   tabs_menu_tab_open(TAB_HOME_OPEN_PROJECT);
 
    pm_project_close(ap.project);
    ap.project = NULL;

-- 


Reply via email to