summaryrefslogtreecommitdiff
path: root/src/plugins/clearcase/checkoutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/clearcase/checkoutdialog.cpp')
-rw-r--r--src/plugins/clearcase/checkoutdialog.cpp3
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()