diff options
author | Arnt Gulbrandsen <arnt@gulbrandsen.priv.no> | 2011-03-10 16:05:38 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-03-12 13:24:15 (GMT) |
commit | 072dee17b4794fd489d54d507939545fc496612c (patch) | |
tree | dbaf834971e78a0c3223382d00c837c13fd4fbaa /Swift/QtUI | |
parent | 975742531dce89ba77d6c337da16ca710bba8a66 (diff) | |
download | swift-072dee17b4794fd489d54d507939545fc496612c.zip swift-072dee17b4794fd489d54d507939545fc496612c.tar.bz2 |
make the enter key work as it should
Diffstat (limited to 'Swift/QtUI')
-rw-r--r-- | Swift/QtUI/QtProfileWindow.cpp | 1 |
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); |