fix(AddAccountWithSeedModal): ensure AccountSelector is working
This commit is contained in:
parent
848f21cd20
commit
ca4c1904d8
|
@ -70,7 +70,7 @@ ModalPopup {
|
||||||
passwordValidationError = "";
|
passwordValidationError = "";
|
||||||
seedValidationError = "";
|
seedValidationError = "";
|
||||||
accountNameValidationError = "";
|
accountNameValidationError = "";
|
||||||
accountColorInput.selectedColor = Style.current.accountColors[Math.floor(Math.random() * Style.current.accountColors.length)]
|
accountColorInput.selectedColor = Theme.palette.accountColors[Math.floor(Math.random() * Theme.palette.accountColors.length)]
|
||||||
passwordInput.forceActiveFocus(Qt.MouseFocusReason)
|
passwordInput.forceActiveFocus(Qt.MouseFocusReason)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ ModalPopup {
|
||||||
anchors.topMargin: marginBetweenInputs
|
anchors.topMargin: marginBetweenInputs
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
model: Theme.current.accountColors
|
model: Theme.palette.accountColors
|
||||||
}
|
}
|
||||||
|
|
||||||
footer: StatusButton {
|
footer: StatusButton {
|
||||||
|
|
Loading…
Reference in New Issue