dont display evidence above objectionview

This commit is contained in:
cidoku 2025-02-27 14:58:17 -03:00
parent cc33d71e3f
commit 62deeba0b5

View File

@ -828,6 +828,10 @@ class gui(QtGui.QWidget):
self.name = QtGui.QLabel(self.chatbox) self.name = QtGui.QLabel(self.chatbox)
self.name.setFont(name_font) self.name.setFont(name_font)
self.presentedevi = QtGui.QLabel(self)
self.presentedevi.setGeometry(16, 16, 140, 140)
self.presentedevi.hide()
self.wtceview = WTCE_View(self) self.wtceview = WTCE_View(self)
self.WTCEsignal.connect(self.wtceview.showWTCE) self.WTCEsignal.connect(self.wtceview.showWTCE)
@ -1159,9 +1163,6 @@ class gui(QtGui.QWidget):
self.notguiltybtn.show() self.notguiltybtn.show()
self.guiltybtn.show() self.guiltybtn.show()
self.presenting = -1 self.presenting = -1
self.presentedevi = QtGui.QLabel(self)
self.presentedevi.setGeometry(16, 16, 140, 140)
self.presentedevi.hide()
self.showname = "" self.showname = ""
self.shownameedit = QtGui.QLineEdit(self) self.shownameedit = QtGui.QLineEdit(self)
@ -2259,6 +2260,7 @@ class gui(QtGui.QWidget):
objections = ["holdit", "objection", "takethat", "custom_objections/"+custom_objection if custom_objection != "custom" else "custom"] objections = ["holdit", "objection", "takethat", "custom_objections/"+custom_objection if custom_objection != "custom" else "custom"]
self.objectionview.play(objections[objection_mod-1], f_char.lower()) self.objectionview.play(objections[objection_mod-1], f_char.lower())
self.presentedevi.hide()
self.playObjectionSnd(f_char.lower(), objection_mod) self.playObjectionSnd(f_char.lower(), objection_mod)
emote_mod = int(self.m_chatmessage[EMOTE_MOD]) emote_mod = int(self.m_chatmessage[EMOTE_MOD])
@ -3135,7 +3137,7 @@ class gui(QtGui.QWidget):
self.areaitems.clear() self.areaitems.clear()
self.evidencedropdown.clear() self.evidencedropdown.clear()
for evi in evidence: for evi in evidence:
self.evidencedropdown.addItem(evi[0]) self.evidencedropdown.addItem(evi[0].strip())
logstart = '<b>--- Log started on ' + time.ctime() + ' ---</b>' logstart = '<b>--- Log started on ' + time.ctime() + ' ---</b>'
if self.ooclog.toPlainText(): if self.ooclog.toPlainText():