mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 12:31:45 +01:00
Change default selection button to select entry instead of cancel.
This commit is contained in:
parent
458968658f
commit
fd1ca2f102
@ -85,7 +85,11 @@ save_data_list_dialog::save_data_list_dialog(const std::vector<SaveDataEntry>& e
|
||||
// Button Layout
|
||||
QHBoxLayout* hbox_action = new QHBoxLayout();
|
||||
QPushButton *push_cancel = new QPushButton(tr("&Cancel"), this);
|
||||
push_cancel->setAutoDefault(false);
|
||||
QPushButton *push_select = new QPushButton(tr("&Select Entry"), this);
|
||||
push_select->setAutoDefault(true);
|
||||
push_select->setDefault(true);
|
||||
|
||||
connect(push_select, &QAbstractButton::clicked, this, &save_data_list_dialog::accept);
|
||||
hbox_action->addWidget(push_select);
|
||||
setWindowTitle(tr("Save Data Chooser"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user