Pressing esc for the permission dialog should be same as reject this request

This commit is contained in:
Kovid Goyal 2022-08-10 20:36:15 +05:30
parent cd3eeb7a95
commit 1348327414
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -506,6 +506,7 @@ class Boss:
)
response: RCResponse = None
window = self.window_id_map.get(window_id)
choice = choice or 'r'
if choice in ('r', 'd'):
if choice == 'd':
set_user_password_allowed(pcmd['password'], False)