Remove stupid "Netsplit: None" message
This commit is contained in:
parent
9e4b1a4d32
commit
a81c17d239
1 changed files with 6 additions and 5 deletions
11
memos.py
11
memos.py
|
@ -921,11 +921,12 @@ class PesterMemo(PesterConvo):
|
|||
|
||||
@QtCore.pyqtSlot()
|
||||
def dumpNetsplit(self):
|
||||
chum = self.mainwindow.profile()
|
||||
systemColor = QtGui.QColor(self.mainwindow.theme["memos/systemMsgColor"])
|
||||
msg = chum.memonetsplitmsg(systemColor, self.netsplit)
|
||||
self.textArea.append(convertTags(msg))
|
||||
self.mainwindow.chatlog.log(self.channel, msg)
|
||||
if (len(self.netsplit) > 0):
|
||||
chum = self.mainwindow.profile()
|
||||
systemColor = QtGui.QColor(self.mainwindow.theme["memos/systemMsgColor"])
|
||||
msg = chum.memonetsplitmsg(systemColor, self.netsplit)
|
||||
self.textArea.append(convertTags(msg))
|
||||
self.mainwindow.chatlog.log(self.channel, msg)
|
||||
del self.netsplit
|
||||
|
||||
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)
|
||||
|
|
Loading…
Reference in a new issue