From cc591fd0d6cdee63f04397965d53b535e00c65d4 Mon Sep 17 00:00:00 2001 From: redgl0w <43498612+RedGl0w@users.noreply.github.com> Date: Sun, 17 Nov 2019 08:05:24 +0100 Subject: [PATCH] Update symbol_controller.cpp --- apps/settings/sub_menu/symbol_controller.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/settings/sub_menu/symbol_controller.cpp b/apps/settings/sub_menu/symbol_controller.cpp index 44cb77193..e73033b5f 100644 --- a/apps/settings/sub_menu/symbol_controller.cpp +++ b/apps/settings/sub_menu/symbol_controller.cpp @@ -49,6 +49,7 @@ bool SymbolController::handleEvent(Ion::Events::Event event) { preferences->setSymbolMultiplication(symbolofMultiplication); autoSymbol ? preferences->SetAutoSymbol(Poincare::Preferences::AutoSymbol::True) : preferences->SetAutoSymbol(Poincare::Preferences::AutoSymbol::False); m_selectableTableView.reloadData(); + return true; } else { return GenericSubController::handleEvent(event); } @@ -87,7 +88,6 @@ void SymbolController::willDisplayCellForIndex(HighlightCell * cell, int index) } else { mySwitch->setState(false); } - //mySwitch->setState(KDIonContext::sharedContext()->invertEnabled); } else if (index == 1) { SwitchView * mySwitch = (SwitchView *)mySwitchCell->accessoryView(); @@ -96,7 +96,6 @@ void SymbolController::willDisplayCellForIndex(HighlightCell * cell, int index) } else { mySwitch->setState(false); } - //mySwitch->setState(KDIonContext::sharedContext()->zoomEnabled); } else if (index == 2) { SwitchView * mySwitch = (SwitchView *)mySwitchCell->accessoryView(); @@ -105,7 +104,6 @@ void SymbolController::willDisplayCellForIndex(HighlightCell * cell, int index) } else { mySwitch->setState(false); } - //mySwitch->setState(KDIonContext::sharedContext()->gammaEnabled); } else if (index == 3){ SwitchView * mySwitch = (SwitchView *)mySwitchCell->accessoryView(); @@ -129,4 +127,4 @@ int SymbolController::typeAtLocation(int i, int j) { } } -} \ No newline at end of file +}