summary refs log tree commit diff
path: root/src/dialogs/CreateRoom.cpp
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-20 08:52:31 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-09-20 08:52:31 +0300
commitd4ce7a9dda7d53ce7b66696b5d9a30c2f4e9b412 (patch)
tree2922815f55abf58bc5fd019e509fd4e625f1bf7c /src/dialogs/CreateRoom.cpp
parentmacOS: Use the native emoji picker (diff)
downloadnheko-d4ce7a9dda7d53ce7b66696b5d9a30c2f4e9b412.tar.xz
Use confirm as the default button
Diffstat (limited to 'src/dialogs/CreateRoom.cpp')
-rw-r--r--src/dialogs/CreateRoom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dialogs/CreateRoom.cpp b/src/dialogs/CreateRoom.cpp

index bfd1e751..c03c9ca6 100644 --- a/src/dialogs/CreateRoom.cpp +++ b/src/dialogs/CreateRoom.cpp
@@ -36,8 +36,8 @@ CreateRoom::CreateRoom(QWidget *parent) buttonLayout->setSpacing(15); confirmBtn_ = new QPushButton(tr("Create room"), this); - cancelBtn_ = new QPushButton(tr("Cancel"), this); - cancelBtn_->setDefault(true); + confirmBtn_->setDefault(true); + cancelBtn_ = new QPushButton(tr("Cancel"), this); buttonLayout->addStretch(1); buttonLayout->addWidget(cancelBtn_);