Fixed self.self (whoops)
This commit is contained in:
parent
0495509b56
commit
4c3a09b226
2 changed files with 5 additions and 3 deletions
4
memos.py
4
memos.py
|
@ -559,7 +559,9 @@ class PesterMemo(PesterConvo):
|
|||
|
||||
def initTheme(self, theme):
|
||||
self.resize(*theme["memos/size"])
|
||||
self.setStyleSheet("QFrame#%s { %s }" % (self.channel, theme["memos/style"]))
|
||||
#self.setStyleSheet("QFrame#%s { %s }" % (self.channel, theme["memos/style"]))
|
||||
# Kind of broken
|
||||
self.setStyleSheet(theme["memos/style"])
|
||||
self.setWindowIcon(PesterIcon(theme["memos/memoicon"]))
|
||||
|
||||
t = Template(theme["memos/label/text"])
|
||||
|
|
|
@ -228,9 +228,9 @@ class chumListing(QtWidgets.QTreeWidgetItem):
|
|||
icon = self.mood.icon(theme)
|
||||
self.setIcon(0, icon)
|
||||
try:
|
||||
self.self.setForeground(0, QtGui.QBrush(QtGui.QColor((self.mainwindow.theme["main/chums/moods"][self.mood.name()]["color"]))))
|
||||
self.setForeground(0, QtGui.QBrush(QtGui.QColor((self.mainwindow.theme["main/chums/moods"][self.mood.name()]["color"]))))
|
||||
except KeyError:
|
||||
self.self.setForeground(0, QtGui.QBrush(QtGui.QColor((self.mainwindow.theme["main/chums/moods/chummy/color"]))))
|
||||
self.setForeground(0, QtGui.QBrush(QtGui.QColor((self.mainwindow.theme["main/chums/moods/chummy/color"]))))
|
||||
def login(self):
|
||||
self.setIcon(0, PesterIcon("themes/arrow_right.png"))
|
||||
self.status = "in"
|
||||
|
|
Loading…
Reference in a new issue