mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/python] Use super implementation in the select sub menu function of the toolbox
This commit is contained in:
@@ -783,13 +783,7 @@ bool PythonToolbox::selectSubMenu(int selectedRow) {
|
||||
Container::activeApp()->displayModalViewController(static_cast<ViewController*>(&m_ionKeys), 0.f, 0.f, Metric::PopUpTopMargin, Metric::PopUpLeftMargin, 0, Metric::PopUpRightMargin);
|
||||
return true;
|
||||
}
|
||||
m_selectableTableView.deselectTable();
|
||||
m_messageTreeModel = static_cast<const ToolboxMessageTree *>(m_messageTreeModel->childAtIndex(selectedRow));
|
||||
if (m_messageTreeModel->isFork()) {
|
||||
assert(m_messageTreeModel->numberOfChildren() < 0);
|
||||
m_messageTreeModel = static_cast<const ToolboxMessageTree *>(m_messageTreeModel->childAtIndex(indexAfterFork()));
|
||||
}
|
||||
return NestedMenuController::selectSubMenu(selectedRow);
|
||||
return Toolbox::selectSubMenu(selectedRow);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user