field[protocol] gives the right protocol]
This commit is contained in:
parent
30b25da273
commit
94809032a4
@ -182,7 +182,7 @@ class TabWidget(QTabWidget):
|
|||||||
fields['current_url'] = ''
|
fields['current_url'] = ''
|
||||||
|
|
||||||
try:
|
try:
|
||||||
fields['protocol'] = self.tab_url(idx).url(options = QUrl.RemovePath)
|
fields['protocol'] = self.tab_url(idx).scheme()
|
||||||
except qtutils.QtValueError:
|
except qtutils.QtValueError:
|
||||||
fields['protocol']= ''
|
fields['protocol']= ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user