mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
trim invite input text
This commit is contained in:
parent
f35e826485
commit
96028f00a5
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue