citra_qt/RecordDialog: close when OK is clicked

The OK button didn't do anything before.
This commit is contained in:
vvanelslande 2019-09-21 09:35:12 -05:00
parent 223bfc9a2a
commit a650402eb5

View File

@ -52,6 +52,7 @@ RecordDialog::RecordDialog(QWidget* parent, const IPCDebugger::RequestRecord& re
connect(ui->cmdbufSelection, qOverload<int>(&QComboBox::currentIndexChanged), this,
&RecordDialog::UpdateCmdbufDisplay);
connect(ui->okButton, &QPushButton::clicked, this, &QDialog::close);
}
RecordDialog::~RecordDialog() = default;