Rename reporter.escape_quits to input.escape_quits_reporter
This commit is contained in:
parent
486a92a710
commit
1b48b67443
@ -971,6 +971,11 @@ hints.uppercase:
|
||||
|
||||
## input
|
||||
|
||||
input.escape_quits_reporter:
|
||||
type: Bool
|
||||
default: True
|
||||
desc: Allow escape to quit the crash reporter.
|
||||
|
||||
input.forward_unbound_keys:
|
||||
default: auto
|
||||
type:
|
||||
@ -2189,13 +2194,6 @@ fonts.web.size.minimum_logical:
|
||||
maxval: maxint
|
||||
desc: Minimum logical font size (in pixels) that is applied when zooming out.
|
||||
|
||||
## reporter
|
||||
|
||||
reporter.escape_quits:
|
||||
type: Bool
|
||||
default: True
|
||||
desc: Allow escape to quit the crash reporter.
|
||||
|
||||
## keybindings
|
||||
|
||||
bindings.key_mappings:
|
||||
|
@ -160,7 +160,7 @@ class _CrashDialog(QDialog):
|
||||
|
||||
# Prevent closing :report dialogs when pressing <escape>
|
||||
def keyPressEvent(self, e):
|
||||
if config.val.reporter.escape_quits or e.key() != Qt.Key_Escape:
|
||||
if config.val.input.escape_quits_reporter or e.key() != Qt.Key_Escape:
|
||||
super().keyPressEvent(e)
|
||||
|
||||
def __repr__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user