fix(@desktop/onboarding): make account name area clickable
Closes: #6518
This commit is contained in:
parent
001748ff6d
commit
492afe6996
|
@ -158,6 +158,23 @@ Item {
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MouseArea {
|
||||||
|
property bool accountPopupOpened: false
|
||||||
|
|
||||||
|
anchors.fill: parent
|
||||||
|
anchors.margins: -10
|
||||||
|
hoverEnabled: true
|
||||||
|
onEntered: {
|
||||||
|
accountPopupOpened = accountsPopup.opened
|
||||||
|
}
|
||||||
|
onPressed: {
|
||||||
|
if (!accountPopupOpened) {
|
||||||
|
changeAccountBtn.clicked(mouse)
|
||||||
|
}
|
||||||
|
accountPopupOpened = accountsPopup.opened
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
StatusQControls.StatusFlatRoundButton {
|
StatusQControls.StatusFlatRoundButton {
|
||||||
icon.name: "chevron-down"
|
icon.name: "chevron-down"
|
||||||
type: StatusQControls.StatusFlatRoundButton.Type.Tertiary
|
type: StatusQControls.StatusFlatRoundButton.Type.Tertiary
|
||||||
|
|
Loading…
Reference in New Issue