hints: Fix URL resolving crash with new WebElement API.
This commit is contained in:
parent
3597817111
commit
00193df99e
@ -388,8 +388,9 @@ class HintManager(QObject):
|
||||
Return:
|
||||
A QUrl with the absolute URL, or None.
|
||||
"""
|
||||
try:
|
||||
text = elem['href']
|
||||
if not text:
|
||||
except KeyError:
|
||||
return None
|
||||
if baseurl is None:
|
||||
baseurl = self._context.baseurl
|
||||
|
Loading…
Reference in New Issue
Block a user