Fix two room leaving related bugs and add invite user on clicking invite
This commit is contained in:
parent
734fb7e286
commit
a2dab31fd6
2 changed files with 13 additions and 2 deletions
|
|
@ -65,6 +65,10 @@ InviteUsers::InviteUsers(QWidget *parent)
|
|||
|
||||
connect(inviteeInput_, &TextField::returnPressed, this, &InviteUsers::addUser);
|
||||
connect(confirmBtn_, &QPushButton::clicked, [this]() {
|
||||
if (!inviteeInput_->text().isEmpty()) {
|
||||
addUser();
|
||||
}
|
||||
|
||||
emit sendInvites(invitedUsers());
|
||||
|
||||
inviteeInput_->clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue