mac compat. thing
This commit is contained in:
parent
fb6c930566
commit
3430472472
1 changed files with 4 additions and 1 deletions
|
@ -1030,7 +1030,10 @@ class PesterWindow(MovingWindow):
|
|||
|
||||
if hasattr(self, 'moods'):
|
||||
self.moods.removeButtons()
|
||||
self.moods = PesterMoodHandler(self, *[PesterMoodButton(self, **d) for d in theme["main/moods"]])
|
||||
mood_list = theme["main/moods"]
|
||||
mood_list = [dict([(str(k),v) for (k,v) in d.iteritems()])
|
||||
for d in mood_list]
|
||||
self.moods = PesterMoodHandler(self, *[PesterMoodButton(self, **d) for d in mood_list])
|
||||
self.moods.showButtons()
|
||||
# chum
|
||||
addChumStyle = "QPushButton { %s }" % (theme["main/addchum/style"])
|
||||
|
|
Loading…
Reference in a new issue