diff options
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r-- | components/package/contents/ui/FocusComposer.qml | 6 | ||||
-rw-r--r-- | components/package/contents/ui/Settings.qml | 5 |
2 files changed, 3 insertions, 8 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 | } |
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 | ||