[apps/sequence][apps/graph] Define x/n only in list controllers

Change-Id: I9b30bc16c3454a0531ebcd40a5fe5169c0af6f24
This commit is contained in:
Émilie Feral
2017-03-24 23:22:49 +01:00
parent 3641009694
commit 633b1486f5
5 changed files with 15 additions and 5 deletions

View File

@@ -69,6 +69,10 @@ TabViewController::TabViewController(Responder * parentResponder, ViewController
}
}
int TabViewController::activeTab() const {
return m_activeChildIndex;
}
bool TabViewController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::Back) {
if (app()->firstResponder() != this) {