Dismiss SidePanel when opening settings / recording screen or select a wallpaper
This commit is contained in:
parent
2a897060a7
commit
dc77bc667a
2 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue