Site favicon as window icon when 'tabs-are-windows' is enabled
This commit is contained in:
parent
c690e652dc
commit
b10c1b063d
@ -533,6 +533,9 @@ class TabbedBrowser(tabwidget.TabWidget):
|
|||||||
# We can get signals for tabs we already deleted...
|
# We can get signals for tabs we already deleted...
|
||||||
return
|
return
|
||||||
self.setTabIcon(idx, tab.icon())
|
self.setTabIcon(idx, tab.icon())
|
||||||
|
if idx == self.currentIndex() and config.get('tabs',
|
||||||
|
'tabs-are-windows'):
|
||||||
|
self.window().setWindowIcon(tab.icon())
|
||||||
|
|
||||||
@pyqtSlot(usertypes.KeyMode)
|
@pyqtSlot(usertypes.KeyMode)
|
||||||
def on_mode_left(self, mode):
|
def on_mode_left(self, mode):
|
||||||
|
Loading…
Reference in New Issue
Block a user