Fix WallpaperSelector close function

This commit is contained in:
Ly-sec 2025-08-07 22:00:19 +02:00
parent cba9f10a24
commit cec4b05047

View file

@ -473,6 +473,10 @@ PanelWithOverlay {
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
// Close WallpaperSelector if it's open
if (wallpaperSelector.visible) {
wallpaperSelector.hide();
}
activeTabIndex = index;
loadComponentForTab(index);
}