From 072dee17b4794fd489d54d507939545fc496612c Mon Sep 17 00:00:00 2001 From: Arnt Gulbrandsen Date: Thu, 10 Mar 2011 17:05:38 +0100 Subject: make the enter key work as it should diff --git a/Swift/QtUI/QtProfileWindow.cpp b/Swift/QtUI/QtProfileWindow.cpp index 2b723be..0faa78f 100644 --- a/Swift/QtUI/QtProfileWindow.cpp +++ b/Swift/QtUI/QtProfileWindow.cpp @@ -65,6 +65,7 @@ QtProfileWindow::QtProfileWindow() { horizontalLayout->addWidget(throbberLabel); saveButton = new QPushButton(tr("Save"), this); + saveButton->setDefault( true ); connect(saveButton, SIGNAL(clicked()), SLOT(handleSave())); horizontalLayout->addWidget(saveButton); -- cgit v0.10.2-6-g49f6