mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
cfc05f2a05
commit
77aaaa787b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue