summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnt Gulbrandsen <arnt@gulbrandsen.priv.no>2011-03-10 16:05:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-12 13:24:15 (GMT)
commit072dee17b4794fd489d54d507939545fc496612c (patch)
treedbaf834971e78a0c3223382d00c837c13fd4fbaa
parent975742531dce89ba77d6c337da16ca710bba8a66 (diff)
downloadswift-contrib-072dee17b4794fd489d54d507939545fc496612c.zip
swift-contrib-072dee17b4794fd489d54d507939545fc496612c.tar.bz2
make the enter key work as it should
-rw-r--r--Swift/QtUI/QtProfileWindow.cpp1
1 files changed, 1 insertions, 0 deletions
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);