[apps/graph][apps/sequence] Reinit graph range to default when the model

changed

Change-Id: Id51deba3fc12338fdb97e8daf1618460abac2446
This commit is contained in:
Émilie Feral
2017-05-24 17:21:03 +02:00
parent 99eb670821
commit e50c5a038d

View File

@@ -141,9 +141,8 @@ void FunctionGraphController::reloadBannerView() {
}
void FunctionGraphController::initRangeParameters() {
if (didChangeRange(interactiveCurveViewRange())) {
initCursorParameters();
}
interactiveCurveViewRange()->setDefault();
initCursorParameters();
}
bool FunctionGraphController::moveCursorVertically(int direction) {