Rename input.insert_mode.auto_focused to _load
This commit is contained in:
parent
3470e9bf5d
commit
f27978e268
@ -704,7 +704,7 @@ class AbstractTab(QWidget):
|
||||
|
||||
def _handle_auto_insert_mode(self, ok):
|
||||
"""Handle auto-insert-mode after loading finished."""
|
||||
if not config.val.input.insert_mode.auto_focused or not ok:
|
||||
if not config.val.input.insert_mode.auto_load or not ok:
|
||||
return
|
||||
|
||||
cur_mode = self._mode_manager.mode
|
||||
|
@ -856,7 +856,7 @@ input.forward_unbound_keys:
|
||||
- none: "Don't forward any keys."
|
||||
desc: Whether to forward unbound keys to the webview in normal mode.
|
||||
|
||||
input.insert_mode.auto_focused:
|
||||
input.insert_mode.auto_load:
|
||||
default: false
|
||||
type: Bool
|
||||
desc: Whether to automatically enter insert mode if an editable element is focused
|
||||
|
@ -38,7 +38,7 @@ def test_insert_mode(file_name, elem_id, source, input_text, auto_insert, zoom,
|
||||
url_path = 'data/insert_mode_settings/html/{}'.format(file_name)
|
||||
quteproc.open_path(url_path)
|
||||
|
||||
quteproc.set_setting('input.insert_mode.auto_focused', auto_insert)
|
||||
quteproc.set_setting('input.insert_mode.auto_load', auto_insert)
|
||||
quteproc.send_cmd(':zoom {}'.format(zoom))
|
||||
|
||||
quteproc.send_cmd(':click-element --force-event id {}'.format(elem_id))
|
||||
|
Loading…
Reference in New Issue
Block a user