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