Merge branch 'nginth-tabindexfix'

This commit is contained in:
Florian Bruhin 2016-05-25 22:10:59 +02:00
commit 20cfadbda7
3 changed files with 5 additions and 1 deletions

View File

@ -63,6 +63,7 @@ Fixed
- Fixed crash when using `;Y` (`:hint links yank-primary`) on a system without
primary selection
- Don't display quit confirmation with finished downloads
- Fixed updating the tab index in the statusbar when opening a background tab
v0.6.2
------

View File

@ -194,6 +194,7 @@ Contributors, sorted by the number of commits in descending order:
* Ismail
* Samir Benmendil
* Regina Hug
* Nick Ginther
* Mathias Fussenegger
* Marcelo Santos
* Jan Verbeek

View File

@ -410,7 +410,9 @@ class TabbedBrowser(tabwidget.TabWidget):
tab.openurl(url)
if background is None:
background = config.get('tabs', 'background-tabs')
if not background:
if background:
self.tab_index_changed.emit(self.currentIndex(), self.count())
else:
self.setCurrentWidget(tab)
tab.show()
self.new_tab.emit(tab, idx)