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>
This commit is contained in:
Berthold Stoeger 2017-11-05 18:16:46 +01:00 committed by Dirk Hohndel
parent cfc05f2a05
commit 77aaaa787b

View file

@ -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