History: advanced options hidden when transaction count = 0

This commit is contained in:
rating89us 2021-06-12 20:40:31 +02:00 committed by GitHub
parent 7c379e2cda
commit f866d3cf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1363,6 +1363,7 @@ Rectangle {
Layout.bottomMargin: 20
Layout.leftMargin: sideMargin
Layout.rightMargin: sideMargin
visible: root.txCount > 0
checked: persistentSettings.historyShowAdvanced
onClicked: persistentSettings.historyShowAdvanced = !persistentSettings.historyShowAdvanced
text: qsTr("Advanced options") + translationManager.emptyString