fix unable to send msg with pair checkbox on

This commit is contained in:
Mauricio 2020-08-05 21:19:25 -04:00
parent c246ac9c85
commit 6cde53fd0a

View File

@ -1488,9 +1488,11 @@ class gui(QtGui.QWidget):
if "cccc_ic_support" in self.features:
msg += self.showname+"#" # custom showname
if self.paircheckbox.isChecked():
msg += str(self.pairdropdown.currentIndex())+"#" # pair charID
msg += str(self.pairdropdown.currentIndex()) # pair charID
if "effects" in self.features:
msg += "^%d#" % self.pair_order.currentIndex() # pair ordering
else:
msg += "#"
else:
msg += "-1#"