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 } } }