allow sending empty messages
This commit is contained in:
parent
f170df0981
commit
85ab57928f
@ -1621,8 +1621,8 @@ class gui(QtGui.QWidget):
|
|||||||
|
|
||||||
def onICreturn(self):
|
def onICreturn(self):
|
||||||
text = str(self.icchatinput.text().toUtf8()).replace('#', '<num>').replace('%', '<percent>').replace('&', '<and>').replace('$', '<dollar>').replace('/n', '\n')
|
text = str(self.icchatinput.text().toUtf8()).replace('#', '<num>').replace('%', '<percent>').replace('&', '<and>').replace('$', '<dollar>').replace('/n', '\n')
|
||||||
if not text:
|
#if not text:
|
||||||
return
|
# return
|
||||||
|
|
||||||
if self.mocktext.isChecked():
|
if self.mocktext.isChecked():
|
||||||
text = mockStr(text)
|
text = mockStr(text)
|
||||||
|
Loading…
Reference in New Issue
Block a user