fix(@desktop/wallet): modal is not being closed when clicking Add Account
This commit is contained in:
parent
1621818ecf
commit
a3979511e2
|
@ -13,7 +13,7 @@ StatusRoundButton {
|
||||||
width: 36
|
width: 36
|
||||||
height: 36
|
height: 36
|
||||||
readonly property var onAfterAddAccount: function() {
|
readonly property var onAfterAddAccount: function() {
|
||||||
walletInfoContainer.changeSelectedAccount(walletModel.accounts.rowCount() - 1)
|
walletInfoContainer.changeSelectedAccount(walletModel.accountsView.accounts.rowCount() - 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
|
@ -176,14 +176,14 @@ Item {
|
||||||
visible: !!validationError
|
visible: !!validationError
|
||||||
id: validationErrorText
|
id: validationErrorText
|
||||||
text: validationError
|
text: validationError
|
||||||
anchors.top: inputRectangle.bottom
|
anchors.top: inputField.bottom
|
||||||
anchors.topMargin: validationErrorTopMargin
|
anchors.topMargin: validationErrorTopMargin
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
readOnly: true
|
readOnly: true
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
height: 16
|
height: 16
|
||||||
color: validationErrorColor
|
color: validationErrorColor
|
||||||
width: inputRectangle.width
|
width: inputField.width
|
||||||
wrapMode: TextEdit.Wrap
|
wrapMode: TextEdit.Wrap
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
import QtQuick 2.13
|
import QtQuick 2.13
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
sourceSize.width: width
|
sourceSize.width: width || undefined
|
||||||
sourceSize.height: height
|
sourceSize.height: height || undefined
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
fillMode: Image.PreserveAspectFit
|
mipmap: true
|
||||||
|
antialiasing: true
|
||||||
mipmap: true
|
|
||||||
antialiasing: true
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue