1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

Fix VFS default button (#2975)

This commit is contained in:
Robbie 2017-07-10 08:43:57 -05:00 committed by Ani
parent b7aed7bbde
commit cea0ff4598

View File

@ -49,6 +49,9 @@ vfs_dialog::vfs_dialog(QWidget* parent) : QDialog(parent),
}
});
QPushButton* okay = new QPushButton(tr("Okay"));
okay->setAutoDefault(true);
okay->setDefault(true);
connect(okay, &QAbstractButton::pressed, [this]() {
for (int i = 0; i < tabs->count(); ++i)
{