diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/package/contents/ui/AccountSwitcher.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index 9efbc637..a1a00fd6 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml | |||
@@ -37,7 +37,13 @@ Button { | |||
37 | 37 | ||
38 | text: "Account Switcher" | 38 | text: "Account Switcher" |
39 | 39 | ||
40 | onClicked: { | ||
41 | dialog.visible = dialog.visible ? false : true | ||
42 | } | ||
43 | |||
40 | Rectangle { | 44 | Rectangle { |
45 | id: dialog | ||
46 | |||
41 | anchors { | 47 | anchors { |
42 | top: parent.bottom | 48 | top: parent.bottom |
43 | left: parent.left | 49 | left: parent.left |
@@ -48,6 +54,7 @@ Button { | |||
48 | 54 | ||
49 | color: "lightgrey" //FIXME create a propper dialog thingy | 55 | color: "lightgrey" //FIXME create a propper dialog thingy |
50 | clip: true | 56 | clip: true |
57 | visible: false | ||
51 | 58 | ||
52 | Item { | 59 | Item { |
53 | id: footer | 60 | id: footer |