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 - Fixed crash when using `;Y` (`:hint links yank-primary`) on a system without
primary selection primary selection
- Don't display quit confirmation with finished downloads - Don't display quit confirmation with finished downloads
- Fixed updating the tab index in the statusbar when opening a background tab
v0.6.2 v0.6.2
------ ------

View File

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

View File

@ -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)