GODT-937: Add keychain switcher to frontend

GODT-1008: Fix transparent dialog under certain conditions
This commit is contained in:
Alexander Bilyak
2021-02-10 00:49:39 +01:00
committed by James Houlahan
parent 8b436186a4
commit 0fe69d9de1
11 changed files with 267 additions and 0 deletions

View File

@ -239,6 +239,25 @@ Item {
dialogGlobal.show()
}
}
ButtonIconText {
id: changeKeychain
visible: advancedSettings.isAdvanced && (go.availableKeychain.length > 1)
text: qsTr("Change keychain", "button to open dialog with default keychain selection")
leftIcon.text : Style.fa.key
rightIcon {
text : qsTr("Change", "clickable link next to change keychain button in settings")
color: Style.main.text
font {
family : changeKeychain.font.family // use default font, not font-awesome
pointSize : Style.settings.fontSize * Style.pt
underline : true
}
}
onClicked: {
dialogChangeKeychain.show()
}
}
}
}
}