diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml index 09683578a..7aa3f3933 100644 --- a/qutebrowser/config/configdata.yml +++ b/qutebrowser/config/configdata.yml @@ -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: diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 372657f7a..8585e69c4 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -160,7 +160,7 @@ class _CrashDialog(QDialog): # Prevent closing :report dialogs when pressing 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):