mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/probability] Avoid a local snapshot cast
This commit is contained in:
committed by
EmilieNumworks
parent
581ec55832
commit
e5f7b93efb
@@ -79,8 +79,7 @@ CalculationController::CalculationController(Responder * parentResponder, InputE
|
||||
}
|
||||
|
||||
void CalculationController::didEnterResponderChain(Responder * previousResponder) {
|
||||
App::Snapshot * snapshot = (App::Snapshot *)app()->snapshot();
|
||||
snapshot->setActivePage(App::Snapshot::Page::Calculations);
|
||||
app()->snapshot()->setActivePage(App::Snapshot::Page::Calculations);
|
||||
updateTitle();
|
||||
reloadLawCurveView();
|
||||
m_selectableTableView.reloadData();
|
||||
|
||||
Reference in New Issue
Block a user