parent
9cb850f67f
commit
55d39aa7c7
|
@ -22,7 +22,6 @@ Item {
|
||||||
property string pathSubFix: ""
|
property string pathSubFix: ""
|
||||||
property bool isLoading: RootStore.derivedAddressesLoading
|
property bool isLoading: RootStore.derivedAddressesLoading
|
||||||
property bool pathError: Utils.isInvalidPath(RootStore.derivedAddressesError)
|
property bool pathError: Utils.isInvalidPath(RootStore.derivedAddressesError)
|
||||||
property string enterPasswordIcon: ""
|
|
||||||
|
|
||||||
property alias selectedAddress: selectedDerivedAddress.title
|
property alias selectedAddress: selectedDerivedAddress.title
|
||||||
property alias selectedAddressAvailable: selectedDerivedAddress.enabled
|
property alias selectedAddressAvailable: selectedDerivedAddress.enabled
|
||||||
|
@ -141,10 +140,7 @@ Item {
|
||||||
|
|
||||||
StatusButton {
|
StatusButton {
|
||||||
visible: _internal.showEnterPinPassButton
|
visible: _internal.showEnterPinPassButton
|
||||||
text: derivedAddresses.selectedKeyUidMigratedToKeycard || userProfile.isKeycardUser?
|
text: qsTr("Preview address")
|
||||||
qsTr("Enter PIN") :
|
|
||||||
qsTr("Enter password")
|
|
||||||
icon.name: derivedAddresses.enterPasswordIcon
|
|
||||||
highlighted: focus
|
highlighted: focus
|
||||||
|
|
||||||
onClicked: _internal.runAction()
|
onClicked: _internal.runAction()
|
||||||
|
|
|
@ -278,7 +278,6 @@ StatusModal {
|
||||||
expandable: true
|
expandable: true
|
||||||
expandableComponent: AdvancedAddAccountView {
|
expandableComponent: AdvancedAddAccountView {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
enterPasswordIcon: d.addAccountIcon
|
|
||||||
onCalculateDerivedPath: {
|
onCalculateDerivedPath: {
|
||||||
if (d.selectedKeyUidMigratedToKeycard) {
|
if (d.selectedKeyUidMigratedToKeycard) {
|
||||||
d.password = ""
|
d.password = ""
|
||||||
|
|
|
@ -167,7 +167,6 @@ ColumnLayout {
|
||||||
selectedKeyUid: advancedSection.selectedKeyUid
|
selectedKeyUid: advancedSection.selectedKeyUid
|
||||||
selectedKeyUidMigratedToKeycard: advancedSection.selectedKeyUidMigratedToKeycard
|
selectedKeyUidMigratedToKeycard: advancedSection.selectedKeyUidMigratedToKeycard
|
||||||
selectedPath: advancedSection.path
|
selectedPath: advancedSection.path
|
||||||
enterPasswordIcon: advancedSection.enterPasswordIcon
|
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
advancedSection.selectedAddress = Qt.binding(function() { return derivedAddressesPanel.selectedAddress})
|
advancedSection.selectedAddress = Qt.binding(function() { return derivedAddressesPanel.selectedAddress})
|
||||||
|
|
Loading…
Reference in New Issue