mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-26 06:22:50 -05:00
add some null safety checks
This commit is contained in:
@@ -352,7 +352,7 @@ Item {
|
||||
}
|
||||
|
||||
onClicked: (event) => {
|
||||
if (!windowData) return
|
||||
if (!windowData || !windowData.address) return
|
||||
|
||||
if (event.button === Qt.LeftButton) {
|
||||
root.overviewOpen = false
|
||||
|
||||
Reference in New Issue
Block a user