[App/zoom_parameter_controller] Changed subview order

This fixes #500
This commit is contained in:
Joachim Le Fournis
2020-05-11 15:41:42 +02:00
committed by EmilieNumworks
parent 7f3f67aba0
commit f1209bcf76

View File

@@ -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) {