From e61477a3e404438bd9d94ff4277396533a819b4c Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Thu, 7 Oct 2021 02:23:56 -0500 Subject: [PATCH] UI bug fixes --- assets/qml/JsonEditor/JsonGroupDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/qml/JsonEditor/JsonGroupDelegate.qml b/assets/qml/JsonEditor/JsonGroupDelegate.qml index a9a21b59..c99f280a 100644 --- a/assets/qml/JsonEditor/JsonGroupDelegate.qml +++ b/assets/qml/JsonEditor/JsonGroupDelegate.qml @@ -169,12 +169,12 @@ Widgets.Window { Layout.fillWidth: true text: qsTr("Add dataset") icon.source: "qrc:/icons/add.svg" - visible: widget.currentIndex === 0 || widget.currentIndex === 4 icon.color: Cpp_ThemeManager.brightText onClicked: Cpp_JSON_Editor.addDataset(group) palette.buttonText: Cpp_ThemeManager.brightText palette.button: Cpp_ThemeManager.toolbarGradient1 palette.window: Cpp_ThemeManager.toolbarGradient1 + visible: widget.currentIndex === 0 || widget.currentIndex === 4 } } }