fix: permission window could steal focus (see #3577)
This commit is contained in:
1 parent
914f91f9f7
commit
2f875b3bcb
1 file changed
+5
@@ -76,6 +76,11 @@ class PermissionsWindow: NSWindow {
|
||||
setContentSize(view.fittingSize)
|
||||
contentView = view
|
||||
}
|
||||
|
||||
override func close() {
|
||||
hideAppIfLastWindowIsClosed()
|
||||
super.close()
|
||||
}
|
||||
}
|
||||
|
||||
extension PermissionsWindow: NSWindowDelegate {
|
||||
|
||||
Reference in new issue
Block a user