diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-12 12:30:08 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-03-12 12:30:08 +0100 |
commit | 680fd8bed732fcafd98ae1c410ba5473e38d18c1 (patch) | |
tree | b2d4f24fb1ddf4866ad42de64c7e32f9912436ad /components/package/contents/ui/Settings.qml | |
parent | 9510a3b6a932888f74138d3adb790fa81040a7e1 (diff) | |
download | kube-680fd8bed732fcafd98ae1c410ba5473e38d18c1.tar.gz kube-680fd8bed732fcafd98ae1c410ba5473e38d18c1.zip |
Dynamically create components instead of just hiding them
Diffstat (limited to 'components/package/contents/ui/Settings.qml')
-rw-r--r-- | components/package/contents/ui/Settings.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/components/package/contents/ui/Settings.qml b/components/package/contents/ui/Settings.qml index acdc42d7..e0d993ad 100644 --- a/components/package/contents/ui/Settings.qml +++ b/components/package/contents/ui/Settings.qml | |||
@@ -29,17 +29,14 @@ import org.kube.framework.theme 1.0 | |||
29 | Rectangle { | 29 | Rectangle { |
30 | id: root | 30 | id: root |
31 | 31 | ||
32 | visible: false | ||
33 | |||
34 | color: ColorPalette.border | 32 | color: ColorPalette.border |
35 | 33 | ||
36 | opacity: 0.9 | 34 | opacity: 0.9 |
37 | 35 | ||
38 | MouseArea { | 36 | MouseArea { |
39 | anchors.fill: parent | 37 | anchors.fill: parent |
40 | |||
41 | onClicked: { | 38 | onClicked: { |
42 | root.visible = false | 39 | root.destroy() |
43 | } | 40 | } |
44 | } | 41 | } |
45 | 42 | ||