From 5fb325c782f6446999a71530768a458e611165f5 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Sat, 16 Nov 2024 15:27:20 -0500 Subject: [PATCH] Save show legends setting --- app/qml/MainWindow/Dashboard/ViewOptions.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/qml/MainWindow/Dashboard/ViewOptions.qml b/app/qml/MainWindow/Dashboard/ViewOptions.qml index 1108202c..1fb3be5b 100644 --- a/app/qml/MainWindow/Dashboard/ViewOptions.qml +++ b/app/qml/MainWindow/Dashboard/ViewOptions.qml @@ -78,6 +78,7 @@ Widgets.Pane { category: "Dashboard" property alias points: plotPoints.value property alias columns: columns.value + property alias showLegends: legends.checked property alias decimalPlaces: decimalPlaces.value property alias axisOptions: axisVisibility.currentIndex } @@ -323,6 +324,7 @@ Widgets.Pane { text: qsTr("Show Legends") visible: Cpp_UI_Dashboard.totalWidgetCount > 0 && Cpp_UI_Dashboard.widgetCount(SerialStudio.DashboardMultiPlot) >= 1 } CheckBox { + id: legends Layout.leftMargin: -8 Layout.alignment: Qt.AlignLeft checked: Cpp_UI_Dashboard.showLegends