NPanel: accept all buttons to close panel (click outside)

This commit is contained in:
ItsLemmy
2025-10-21 20:50:55 -04:00
parent fc5be392c0
commit d820116a06
+1
View File
@@ -189,6 +189,7 @@ Loader {
MouseArea {
anchors.fill: parent
enabled: root.backgroundClickEnabled
acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton
onClicked: root.close()
}