nikawhite pushed a commit to branch master.

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

commit 2754a8124ef0f1487e598c6d9f8113b5e6136c06
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Fri Apr 22 10:21:58 2016 +0300

    tabs: reaload coed only for availible workspace
    
    Change-Id: Iba5694188608006d6eba9322b31b214a310c27d8
---
 src/bin/ui/tabs.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index abe9ca9..b8d0c84 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -327,9 +327,8 @@ _on_save(void *data __UNUSED__,
          Evas_Object *obj __UNUSED__,
          void *event_info __UNUSED__)
 {
-   assert(tabs.current_group != NULL);
-   assert(tabs.current_workspace != NULL);
-   workspace_code_reload(tabs.current_workspace);
+   if (tabs.current_workspace)
+     workspace_code_reload(tabs.current_workspace);
 }
 
 void

-- 


Reply via email to