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/FocusComposer.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/FocusComposer.qml')
-rw-r--r-- | components/package/contents/ui/FocusComposer.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/package/contents/ui/FocusComposer.qml b/components/package/contents/ui/FocusComposer.qml index ab04dbed..1cd3cb32 100644 --- a/components/package/contents/ui/FocusComposer.qml +++ b/components/package/contents/ui/FocusComposer.qml | |||
@@ -25,8 +25,6 @@ Rectangle { | |||
25 | id: root | 25 | id: root |
26 | property variant originalMessage | 26 | property variant originalMessage |
27 | 27 | ||
28 | visible: false | ||
29 | |||
30 | color: ColorPalette.border | 28 | color: ColorPalette.border |
31 | 29 | ||
32 | opacity: 0.9 | 30 | opacity: 0.9 |
@@ -35,7 +33,7 @@ Rectangle { | |||
35 | anchors.fill: parent | 33 | anchors.fill: parent |
36 | 34 | ||
37 | onClicked: { | 35 | onClicked: { |
38 | root.visible = false | 36 | root.destroy() |
39 | } | 37 | } |
40 | } | 38 | } |
41 | 39 | ||
@@ -74,7 +72,7 @@ Rectangle { | |||
74 | 72 | ||
75 | onClicked: { | 73 | onClicked: { |
76 | composer.send() | 74 | composer.send() |
77 | root.visible = false | 75 | root.destroy() |
78 | } | 76 | } |
79 | } | 77 | } |
80 | } | 78 | } |