Fix lint.
This commit is contained in:
parent
a960658617
commit
54ae6a63ee
@ -30,4 +30,5 @@ exclude qutebrowser.rcc
|
|||||||
exclude .coveragerc
|
exclude .coveragerc
|
||||||
exclude .flake8
|
exclude .flake8
|
||||||
exclude .pylintrc
|
exclude .pylintrc
|
||||||
|
exclude .eslintrc
|
||||||
exclude doc/help
|
exclude doc/help
|
||||||
|
@ -1368,7 +1368,6 @@ class CommandDispatcher:
|
|||||||
modes=[KeyMode.caret], scope='window')
|
modes=[KeyMode.caret], scope='window')
|
||||||
def move_to_start_of_document(self):
|
def move_to_start_of_document(self):
|
||||||
"""Move the cursor or selection to the start of the document."""
|
"""Move the cursor or selection to the start of the document."""
|
||||||
|
|
||||||
webview = self._current_widget()
|
webview = self._current_widget()
|
||||||
if not webview.selection_enabled:
|
if not webview.selection_enabled:
|
||||||
act = QWebPage.MoveToStartOfDocument
|
act = QWebPage.MoveToStartOfDocument
|
||||||
|
Loading…
Reference in New Issue
Block a user