From 77aaaa787bc201df79c47e23ed974c4a9e73cb64 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 5 Nov 2017 18:16:46 +0100 Subject: 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 --- desktop-widgets/btdeviceselectiondialog.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2