Merge branch 'tabindexfix' of https://github.com/nginth/qutebrowser into nginth-tabindexfix
This commit is contained in:
commit
824e662154
@ -410,7 +410,9 @@ class TabbedBrowser(tabwidget.TabWidget):
|
|||||||
tab.openurl(url)
|
tab.openurl(url)
|
||||||
if background is None:
|
if background is None:
|
||||||
background = config.get('tabs', 'background-tabs')
|
background = config.get('tabs', 'background-tabs')
|
||||||
if not background:
|
if background:
|
||||||
|
self.tab_index_changed.emit(self.currentIndex(), self.count())
|
||||||
|
else:
|
||||||
self.setCurrentWidget(tab)
|
self.setCurrentWidget(tab)
|
||||||
tab.show()
|
tab.show()
|
||||||
self.new_tab.emit(tab, idx)
|
self.new_tab.emit(tab, idx)
|
||||||
|
Loading…
Reference in New Issue
Block a user