[apps] Hide matrix and list variables

Change-Id: Ifa3aaf0e5e2fb6e4e3749f1e31f259de2fd34804
This commit is contained in:
Émilie Feral
2017-04-25 18:19:13 +02:00
parent c3617d84a2
commit f4fa9083b3

View File

@@ -33,7 +33,8 @@ void VariableBoxController::ContentViewController::didBecomeFirstResponder() {
bool VariableBoxController::ContentViewController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::Back) {
if (m_currentPage == Page::RootMenu) {
/* TODO: implement matrix and list contexts */
if (m_currentPage == Page::Scalar) {//if (m_currentPage == Page::RootMenu) {
m_firstSelectedRow = 0;
app()->dismissModalViewController();
return true;
@@ -228,7 +229,8 @@ void VariableBoxController::ContentViewController::reloadData() {
}
void VariableBoxController::ContentViewController::resetPage() {
m_currentPage = Page::RootMenu;
/* TODO: implement matrix and list contexts */
m_currentPage = Page::Scalar;//Page::RootMenu;
}
void VariableBoxController::ContentViewController::deselectTable() {