Fix style
This commit is contained in:
parent
a3c1c90ec0
commit
fce548adde
1 changed files with 2 additions and 2 deletions
4
memos.py
4
memos.py
|
@ -855,7 +855,7 @@ class PesterMemo(PesterConvo):
|
|||
else:
|
||||
self.close()
|
||||
msgbox = QtWidgets.QMessageBox()
|
||||
msgbox.setStyleSheet("QMessageBox{" + self.theme["main/defaultwindow/style"] + "}")
|
||||
msgbox.setStyleSheet("QMessageBox{" + self.mainwindow.theme["main/defaultwindow/style"] + "}")
|
||||
msgbox.setText("%s: Invites only!" % (c))
|
||||
msgbox.setInformativeText("This channel is invite-only. You must get an invitation from someone on the inside before entering.")
|
||||
msgbox.setStandardButtons(QtWidgets.QMessageBox.Ok)
|
||||
|
@ -1013,7 +1013,7 @@ class PesterMemo(PesterConvo):
|
|||
if chum is self.mainwindow.profile():
|
||||
# are you next?
|
||||
msgbox = QtWidgets.QMessageBox()
|
||||
msgbox.setStyleSheet("QMessageBox{" + self.theme["main/defaultwindow/style"] + "}")
|
||||
msgbox.setStyleSheet("QMessageBox{" + self.mainwindow.theme["main/defaultwindow/style"] + "}")
|
||||
msgbox.setText(self.mainwindow.theme["convo/text/kickedmemo"])
|
||||
msgbox.setInformativeText("press 0k to rec0nnect or cancel to absc0nd")
|
||||
msgbox.setStandardButtons(QtWidgets.QMessageBox.Ok | QtWidgets.QMessageBox.Cancel)
|
||||
|
|
Loading…
Reference in a new issue