diff options
Diffstat (limited to 'components/package/contents/ui')
-rw-r--r-- | components/package/contents/ui/OverlayDialog.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/package/contents/ui/OverlayDialog.qml b/components/package/contents/ui/OverlayDialog.qml index 1138c78c..226ed79d 100644 --- a/components/package/contents/ui/OverlayDialog.qml +++ b/components/package/contents/ui/OverlayDialog.qml | |||
@@ -27,6 +27,10 @@ import org.kube.framework.domain 1.0 as KubeFramework | |||
27 | Item { | 27 | Item { |
28 | id: root | 28 | id: root |
29 | 29 | ||
30 | function closeDialog() { | ||
31 | root.destroy(); | ||
32 | } | ||
33 | |||
30 | Rectangle { | 34 | Rectangle { |
31 | id: background | 35 | id: background |
32 | anchors.fill: parent | 36 | anchors.fill: parent |
@@ -38,7 +42,7 @@ Item { | |||
38 | MouseArea { | 42 | MouseArea { |
39 | anchors.fill: parent | 43 | anchors.fill: parent |
40 | onClicked: { | 44 | onClicked: { |
41 | root.destroy() | 45 | root.closeDialog() |
42 | } | 46 | } |
43 | } | 47 | } |
44 | 48 | ||