Skip to content

Commit

Permalink
hide advanced options in tx menu when there are no txs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobtoht committed Dec 15, 2019
1 parent 46227bd commit aa47003
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/History.qml
Expand Up @@ -1288,6 +1288,7 @@ Rectangle {
}

MoneroComponents.CheckBox2 {
visible: root.txCount > 0
id: showAdvancedCheckbox
Layout.topMargin: 30
Layout.bottomMargin: 20
Expand All @@ -1299,7 +1300,7 @@ Rectangle {
}

ColumnLayout {
visible: persistentSettings.historyShowAdvanced
visible: persistentSettings.historyShowAdvanced && root.txCount > 0
Layout.leftMargin: sideMargin
Layout.rightMargin: sideMargin
spacing: 20
Expand Down

0 comments on commit aa47003

Please sign in to comment.