[interactive_curve_view_range] Move status update

The methods setDefault and normalize now update the zoomAuto and
zoomNormalize status.

Change-Id: I0400c22816c17d38fd1b3dee5c8a2f1ccfa79340
This commit is contained in:
Gabriel Ozouf
2020-10-15 14:22:34 +02:00
committed by Émilie Feral
parent 958b172d08
commit 3ba4f974f7
4 changed files with 9 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ int RangeParameterController::reusableParameterCellCount(int type) {
void RangeParameterController::buttonAction() {
*m_interactiveRange = m_tempInteractiveRange;
m_interactiveRange->setZoomAuto(false);
m_interactiveRange->checkForNormalizedRange();
m_interactiveRange->setZoomNormalize(m_interactiveRange->isOrthonormal());
StackViewController * stack = stackController();
stack->pop();