mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/regression] Display the prediction parameter page when clicking on
the regression curve Change-Id: Iac2750ac855a285d607edeac0da5d82b4ad674a3
This commit is contained in:
@@ -6,7 +6,8 @@ GraphController::GraphController(Responder * parentResponder, HeaderViewControll
|
||||
CurveViewWindowWithBannerAndCursorController(parentResponder, headerViewController, data, &m_view),
|
||||
m_view(GraphView(data)),
|
||||
m_data(data),
|
||||
m_initialisationParameterController(InitialisationParameterController(this, m_data))
|
||||
m_initialisationParameterController(InitialisationParameterController(this, m_data)),
|
||||
m_predictionParameterController(PredictionParameterController(this, m_data))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -26,6 +27,10 @@ const char * GraphController::emptyMessage() {
|
||||
}
|
||||
|
||||
bool GraphController::handleEnter() {
|
||||
if (m_data->selectedDotIndex() == -1) {
|
||||
stackController()->push(&m_predictionParameterController);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user