Fix coverage check
This commit is contained in:
parent
cf2f81aae1
commit
045831f3c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user