From f1209bcf764442a24fe7b1709bd22f2df09674c9 Mon Sep 17 00:00:00 2001 From: Joachim Le Fournis <43498612+RedGl0w@users.noreply.github.com> Date: Mon, 11 May 2020 15:41:42 +0200 Subject: [PATCH] [App/zoom_parameter_controller] Changed subview order This fixes #500 --- apps/shared/zoom_parameter_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/shared/zoom_parameter_controller.cpp b/apps/shared/zoom_parameter_controller.cpp index fffc06680..33a7f30ce 100644 --- a/apps/shared/zoom_parameter_controller.cpp +++ b/apps/shared/zoom_parameter_controller.cpp @@ -59,9 +59,9 @@ int ZoomParameterController::ContentView::numberOfSubviews() const { View * ZoomParameterController::ContentView::subviewAtIndex(int index) { assert(index >= 0 && index < 2); if (index == 0) { - return m_curveView; + return &m_legendView; } - return &m_legendView; + return m_curveView; } void ZoomParameterController::ContentView::layoutSubviews(bool force) {