diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-20 09:59:14 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-09-20 09:59:14 +0300 |
commit | ecc346a6dad163986cdb7a1a5a6aa873e20519da (patch) | |
tree | 75663330208063522165d8e14941cc2aabdca2c0 /src/dialogs/InviteUsers.cpp | |
parent | Use confirm as the default button (diff) | |
download | nheko-ecc346a6dad163986cdb7a1a5a6aa873e20519da.tar.xz |
Close dialogs on confirmation
Diffstat (limited to 'src/dialogs/InviteUsers.cpp')
-rw-r--r-- | src/dialogs/InviteUsers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dialogs/InviteUsers.cpp b/src/dialogs/InviteUsers.cpp index b8178ed8..ab523a56 100644 --- a/src/dialogs/InviteUsers.cpp +++ b/src/dialogs/InviteUsers.cpp @@ -69,6 +69,8 @@ InviteUsers::InviteUsers(QWidget *parent) inviteeInput_->clear(); inviteeList_->clear(); errorLabel_->hide(); + + emit close(); }); connect(cancelBtn_, &QPushButton::clicked, [this]() { |