Browse Source

Fixed bug in previous commit

pull/5/head
Kevin Flynn 11 years ago
parent
commit
9ec2cb1d84
  1. 2
      widget/form/addfriendform.cpp

2
widget/form/addfriendform.cpp

@ -40,7 +40,7 @@ void AddFriendForm::onSendTriggered() @@ -40,7 +40,7 @@ void AddFriendForm::onSendTriggered()
QString id = toxId.text(), msg = message.toPlainText();
if (id.isEmpty())
return;
if (message.isEmpty())
if (msg.isEmpty())
msg = "Tox me maybe?";
emit friendRequested(id, msg);

Loading…
Cancel
Save