CalendarSelectorPopup::OnKeyReleased(Tizen::Ui::Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo)
{
AppLogDebug("%d", keyEventInfo.GetKeyCode());
- if (keyEventInfo.GetKeyCode() == KEY_BACK)
+ if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
{
SetShowState(false);
}
GoToDatePopup::OnKeyReleased(Tizen::Ui::Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo)
{
AppLogDebug("%d", keyEventInfo.GetKeyCode());
- if (keyEventInfo.GetKeyCode() == KEY_BACK)
+ if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
{
SetShowState(false);
}
ThreeButtonPopup::OnKeyReleased(Tizen::Ui::Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo)
{
AppLogDebug("%d", keyEventInfo.GetKeyCode());
- if (keyEventInfo.GetKeyCode() == KEY_BACK)
+ if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
{
SetShowState(false);
if (__pTarget)
TwoButtonPopup::OnKeyReleased(Tizen::Ui::Control &source, const Tizen::Ui::KeyEventInfo &keyEventInfo)
{
AppLogDebug("%d", keyEventInfo.GetKeyCode());
- if (keyEventInfo.GetKeyCode() == KEY_BACK)
+ if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC)
{
SetShowState(false);
if (__pTarget)