Browse Source

qml: allow wizard pages to supply title suffix

patch-4
Sander van Grieken 2 years ago
parent
commit
3c903d8fd7
  1. 2
      electrum/gui/qml/components/wizard/Wizard.qml
  2. 1
      electrum/gui/qml/components/wizard/WizardComponent.qml

2
electrum/gui/qml/components/wizard/Wizard.qml

@ -167,7 +167,7 @@ Dialog {
} }
Label { Label {
text: title text: title + (pages.currentItem.title ? ' - ' + pages.currentItem.title : '')
elide: Label.ElideRight elide: Label.ElideRight
Layout.fillWidth: true Layout.fillWidth: true
topPadding: constants.paddingXLarge topPadding: constants.paddingXLarge

1
electrum/gui/qml/components/wizard/WizardComponent.qml

@ -8,6 +8,7 @@ Item {
property bool valid property bool valid
property bool last: false property bool last: false
property bool ready: false property bool ready: false
property string title: ''
onAccept: { onAccept: {
apply() apply()

Loading…
Cancel
Save