rimmed pushed a commit to branch master.

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

commit b847ed32d6e8203cb08cdac0cc427b669c6c0ca9
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Mon Mar 21 15:52:48 2016 +0200

    shortcuts: disable to ctrl+s when project is not opened
---
 src/bin/ui/shortcuts/shortcuts.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/ui/shortcuts/shortcuts.c b/src/bin/ui/shortcuts/shortcuts.c
index d069f5b..e4fed20 100644
--- a/src/bin/ui/shortcuts/shortcuts.c
+++ b/src/bin/ui/shortcuts/shortcuts.c
@@ -119,6 +119,7 @@ struct _Shortcut_Module
 static Eina_Bool
 _save_cb(void)
 {
+   if (!ap.project) return false;
    project_save();
    return true;
 }

-- 


Reply via email to