Skip to content
Snippets Groups Projects
Commit 96028f00 authored by Jedi18's avatar Jedi18
Browse files

trim invite input text

parent f35e8264
No related branches found
No related tags found
No related merge requests found
Pipeline #645 passed
......@@ -65,7 +65,7 @@ InviteUsers::InviteUsers(QWidget *parent)
connect(inviteeInput_, &TextField::returnPressed, this, &InviteUsers::addUser);
connect(confirmBtn_, &QPushButton::clicked, [this]() {
if (!inviteeInput_->text().isEmpty()) {
if (!inviteeInput_->text().trimmed().isEmpty()) {
addUser();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment