summaryrefslogtreecommitdiff
path: root/popups/launcher/components/IComponent.qml
diff options
context:
space:
mode:
Diffstat (limited to 'popups/launcher/components/IComponent.qml')
-rw-r--r--popups/launcher/components/IComponent.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/popups/launcher/components/IComponent.qml b/popups/launcher/components/IComponent.qml
index 26de055..b59425a 100644
--- a/popups/launcher/components/IComponent.qml
+++ b/popups/launcher/components/IComponent.qml
@@ -45,6 +45,7 @@ IRect {
})
property var prev: () => {}
property var next: () => {}
+ // true if not closed
property var exec: () => {}
property var home: () => {}
property var end: () => {}
@@ -54,8 +55,8 @@ IRect {
signal close
function _exec() {
- exec();
- close();
+ if (!exec())
+ close();
}
// this doesn't change launcher size but only hides the actual content but the outside still think the content is there