icon fix
This commit is contained in:
parent
6e8e496926
commit
49ed222936
1 changed files with 2 additions and 0 deletions
|
@ -386,6 +386,8 @@ class PesterTabWindow(QtGui.QFrame):
|
||||||
def updateMood(self, handle, mood):
|
def updateMood(self, handle, mood):
|
||||||
i = self.tabIndices[handle]
|
i = self.tabIndices[handle]
|
||||||
self.tabs.setTabIcon(i, mood.icon(self.mainwindow.theme))
|
self.tabs.setTabIcon(i, mood.icon(self.mainwindow.theme))
|
||||||
|
if self.tabs.currentIndex() == i:
|
||||||
|
self.setWindowIcon(mood.icon(self.mainwindow.theme))
|
||||||
def closeEvent(self, event):
|
def closeEvent(self, event):
|
||||||
if not self.softclose:
|
if not self.softclose:
|
||||||
while self.tabs.count() > 0:
|
while self.tabs.count() > 0:
|
||||||
|
|
Loading…
Reference in a new issue