summary refs log tree commit diff
path: root/src/dialogs/InviteUsers.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-20 09:59:14 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-20 09:59:14 +0300
commitecc346a6dad163986cdb7a1a5a6aa873e20519da (patch)
tree75663330208063522165d8e14941cc2aabdca2c0 /src/dialogs/InviteUsers.cpp
parentUse confirm as the default button (diff)
downloadnheko-ecc346a6dad163986cdb7a1a5a6aa873e20519da.tar.xz
Close dialogs on confirmation
Diffstat (limited to 'src/dialogs/InviteUsers.cpp')
-rw-r--r--src/dialogs/InviteUsers.cpp2
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]() {