From 3f265d0f546bc8420cb8e5b8de40e99b7216731b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 6 Aug 2026 00:20:00 +0800 Subject: IComponent: partially fix immediately closing after exec --- popups/launcher/components/IComponent.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'popups/launcher/components/IComponent.qml') 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 -- cgit v1.2.3