mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/regression/graph_controller] Simplify viewWillAppear
This commit is contained in:
committed by
LeaNumworks
parent
7b00072ccf
commit
d13c243876
@@ -84,11 +84,7 @@ void GraphController::viewWillAppear() {
|
||||
|
||||
/* Since *m_selectedDotIndex is altered by initCursorParameters(),
|
||||
* the following must absolutely come at the end. */
|
||||
if (*m_selectedDotIndex >= 0) {
|
||||
setRoundCrossCursorView(false);
|
||||
} else {
|
||||
setRoundCrossCursorView(true);
|
||||
}
|
||||
setRoundCrossCursorView(*m_selectedDotIndex < 0);
|
||||
}
|
||||
|
||||
void GraphController::selectRegressionCurve() {
|
||||
|
||||
Reference in New Issue
Block a user