From d4ce7a9dda7d53ce7b66696b5d9a30c2f4e9b412 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Thu, 20 Sep 2018 08:52:31 +0300 Subject: Use confirm as the default button --- src/dialogs/CreateRoom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dialogs/CreateRoom.cpp') 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_); -- cgit 1.5.1