This commit is contained in:
Yashar Shahi 2017-07-10 19:58:03 +04:30
commit 9574549798
2 changed files with 10 additions and 11 deletions

18
.github/CODEOWNERS vendored
View File

@ -1,10 +1,8 @@
* @The-Compiler
qutebrowser/browser/history.py @The-Compiler @rcorre
qutebrowser/completion/* @The-Compiler @rcorre
qutebrowser/misc/sql.py @The-Compiler @rcorre
tests/end2end/features/completion.feature @The-Compiler @rcorre
tests/end2end/features/test_completion_bdd.py @The-Compiler @rcorre
tests/unit/browser/test_history.py @The-Compiler @rcorre
tests/unit/completion/* @The-Compiler @rcorre
tests/unit/misc/test_sql.py @The-Compiler @rcorre
qutebrowser/browser/history.py @rcorre
qutebrowser/completion/* @rcorre
qutebrowser/misc/sql.py @rcorre
tests/end2end/features/completion.feature @rcorre
tests/end2end/features/test_completion_bdd.py @rcorre
tests/unit/browser/test_history.py @rcorre
tests/unit/completion/* @rcorre
tests/unit/misc/test_sql.py @rcorre

View File

@ -29,7 +29,8 @@ class Backforward(textbase.TextBase):
def on_tab_cur_url_changed(self, tabs):
"""Called on URL changes."""
tab = tabs.currentWidget()
if tab is None:
if tab is None: # pragma: no cover
# WORKAROUND: Doesn't get tested on older PyQt
self.setText('')
self.hide()
return