Hid the popups when Esc key is pressed
[apps/osp/Gallery.git] / src / GlAlbumListEditorForm.cpp
index 3cabb66..55530cd 100644 (file)
@@ -772,7 +772,7 @@ bool AlbumListEditorForm::OnKeyReleased(Control& source, const Tizen::Ui::KeyEve
 {
        AppLogDebug("ENTER");
 
-       if (keyEventInfo.GetKeyCode() == KEY_BACK)
+       if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
        {
                __pDeletePopup->SetShowState(false);
                __pDeletePopup->Show();