mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2025-12-06 06:36:15 +00:00
Dismiss SidePanel when opening settings / recording screen or select a wallpaper
This commit is contained in:
@@ -301,8 +301,10 @@ PanelWithOverlay {
|
||||
onClicked: {
|
||||
if (sidebarPopupRect.isRecording) {
|
||||
sidebarPopupRect.stopRecording();
|
||||
sidebarPopup.dismiss();
|
||||
} else {
|
||||
sidebarPopupRect.startRecording();
|
||||
sidebarPopup.dismiss();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -343,8 +345,10 @@ PanelWithOverlay {
|
||||
hoverEnabled: true
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
if (typeof settingsModal !== 'undefined' && settingsModal && settingsModal.openSettings)
|
||||
if (typeof settingsModal !== 'undefined' && settingsModal && settingsModal.openSettings) {
|
||||
settingsModal.openSettings(6);
|
||||
sidebarPopup.dismiss();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ PanelWindow {
|
||||
}
|
||||
});
|
||||
}
|
||||
sidebarPopup.dismiss();
|
||||
} else if (settingsWindow.visible) {
|
||||
// Close and destroy window
|
||||
var windowToDestroy = settingsWindow;
|
||||
|
||||
Reference in New Issue
Block a user