From 49ed222936f58c742d610165b819cf54f60d0dcc Mon Sep 17 00:00:00 2001 From: Stephen Dranger Date: Fri, 28 Jan 2011 03:09:51 -0600 Subject: [PATCH] icon fix --- pesterchum.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pesterchum.py b/pesterchum.py index d3c89b1..7a85c95 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -386,6 +386,8 @@ class PesterTabWindow(QtGui.QFrame): def updateMood(self, handle, mood): i = self.tabIndices[handle] 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): if not self.softclose: while self.tabs.count() > 0: