[Escher] The StackViewController pops when receiving ESC

Change-Id: I069ac2ea910f34513f607ec5d9a0a2483bbc20bc
This commit is contained in:
Romain Goyet
2016-08-19 16:57:34 +02:00
parent 0d0694422b
commit ca71a52010

View File

@@ -92,6 +92,10 @@ void StackViewController::handleKeyEvent(int key) {
bool StackViewController::handleEvent(ion_event_t event) {
if (event == ESC && m_numberOfChildren > 1) {
pop();
return true;
}
return false;
}