diff options
author | Knut Petter Svendsen <knutpett@pvv.org> | 2015-01-03 22:36:57 +0100 |
---|---|---|
committer | Knut Petter Svendsen <knutpett@pvv.org> | 2015-01-03 22:53:14 +0100 |
commit | ebb04e77ee6e49541ee2c7fb655d403d222f1272 (patch) | |
tree | 2b0340f6693414c5eb11a6833f20dfa5e0dcc5c7 | |
parent | 18b1d9270d49a49c713cf75dffad9cdcf3a93edd (diff) | |
download | qt-creator-ebb04e77ee6e49541ee2c7fb655d403d222f1272.tar.gz |
ClearCase: Set focus on Ok button
Change-Id: I7d872f90bce914100c912db4c310001b8597b102
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r-- | src/plugins/clearcase/checkoutdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/clearcase/checkoutdialog.cpp b/src/plugins/clearcase/checkoutdialog.cpp index 0d9fc75617..8ee423e65c 100644 --- a/src/plugins/clearcase/checkoutdialog.cpp +++ b/src/plugins/clearcase/checkoutdialog.cpp @@ -36,6 +36,7 @@ #include <QList> #include <QPair> #include <QPalette> +#include <QPushButton> namespace ClearCase { namespace Internal { @@ -57,6 +58,8 @@ CheckOutDialog::CheckOutDialog(const QString &fileName, bool isUcm, QWidget *par ui->verticalLayout->insertWidget(1, line); } + + ui->buttonBox->button(QDialogButtonBox::Ok)->setFocus(); } CheckOutDialog::~CheckOutDialog() |