aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/btdeviceselectiondialog.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-05 18:16:46 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-06 14:05:26 -0800
commit77aaaa787bc201df79c47e23ed974c4a9e73cb64 (patch)
tree54a97571c94400301f6be231eedf793009f5ca34 /desktop-widgets/btdeviceselectiondialog.cpp
parentcfc05f2a058bfb1f23ba36a9219eb3f31cc397aa (diff)
downloadsubsurface-77aaaa787bc201df79c47e23ed974c4a9e73cb64.tar.gz
BT device selection dialog: make Save the default button
When a user presses enter, they probably want their selection saved, not discarded. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/btdeviceselectiondialog.cpp')
-rw-r--r--desktop-widgets/btdeviceselectiondialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/btdeviceselectiondialog.cpp b/desktop-widgets/btdeviceselectiondialog.cpp
index 74ce44cb1..c036fc3b7 100644
--- a/desktop-widgets/btdeviceselectiondialog.cpp
+++ b/desktop-widgets/btdeviceselectiondialog.cpp
@@ -40,6 +40,7 @@ BtDeviceSelectionDialog::BtDeviceSelectionDialog(QWidget *parent) :
ui->scan->setText(tr("Scan"));
ui->clear->setText(tr("Clear"));
ui->save->setText(tr("Save"));
+ ui->save->setDefault(true);
ui->quit->setText(tr("Quit"));
// Disable the save button because there is no device selected