This commit is contained in:
Stephen Dranger 2011-01-28 03:09:51 -06:00
parent 6e8e496926
commit 49ed222936

View file

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