diff options
author | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-06-21 13:06:35 +0900 |
---|---|---|
committer | sangwan kwon <sangwan.kwon@samsung.com> | 2016-06-20 21:17:20 -0700 |
commit | 7a161bad72ef33eee7429fab7143c82c87223b44 (patch) | |
tree | cd98d954bf37e1b56cb814bfbe1199a543944db9 | |
parent | 89aef3563c43ea9474390450b121b70761da361c (diff) | |
download | csr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.tar.gz csr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.tar.bz2 csr-framework-7a161bad72ef33eee7429fab7143c82c87223b44.zip |
Set popup failed return value as negative number
Change-Id: Ia9dcf4d1d28cf821aa225f5c4c122d297716e32c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
-rw-r--r-- | src/framework/ui/popup/popup.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/framework/ui/popup/popup.cpp b/src/framework/ui/popup/popup.cpp index 22ebb6f..85aaa56 100644 --- a/src/framework/ui/popup/popup.cpp +++ b/src/framework/ui/popup/popup.cpp @@ -278,8 +278,10 @@ Eina_Bool Popup::keyDownCb(void *, int , void *ev) DEBUG("Key down event caught."); auto event = reinterpret_cast<Ecore_Event_Key *>(ev); - if(event->key == HOME_KEY) + if(event->key == HOME_KEY) { + response = -1; elm_exit(); + } // Let the event continue to other callbacks. return ECORE_CALLBACK_PASS_ON; |