settings: fix modal not opening on latest quickshell (#1357)

This commit is contained in:
Lucas authored and GitHub committed 2026-01-13 16:41:54 -05:00
1 parent 4b7baf82cd
commit bdd01e335d
1 file changed
+5 -7
+5 -7
View File
@@ -442,17 +442,15 @@ Item {
PopoutService.settingsModalLoader = settingsModalLoader;
}
onActiveChanged: {
if (active && item) {
PopoutService.settingsModal = item;
PopoutService._onSettingsModalLoaded();
}
}
SettingsModal {
id: settingsModal
property bool wasShown: false
Component.onCompleted: {
PopoutService.settingsModal = settingsModal;
PopoutService._onSettingsModalLoaded();
}
onVisibleChanged: {
if (visible) {
wasShown = true;