mirror of https://github.com/PCSX2/pcsx2.git
input-rec: append `.p2m2` automatically when browsing for a file
This commit is contained in:
parent
13d623f350
commit
4f0c880e3e
|
@ -83,6 +83,7 @@ void NewInputRecordingDlg::onBrowseForPathClicked()
|
||||||
dialog.setFileMode(QFileDialog::AnyFile);
|
dialog.setFileMode(QFileDialog::AnyFile);
|
||||||
dialog.setWindowTitle("Select a File");
|
dialog.setWindowTitle("Select a File");
|
||||||
dialog.setNameFilter(tr("Input Recording Files (*.p2m2)"));
|
dialog.setNameFilter(tr("Input Recording Files (*.p2m2)"));
|
||||||
|
dialog.setDefaultSuffix("p2m2");
|
||||||
QStringList fileNames;
|
QStringList fileNames;
|
||||||
if (dialog.exec())
|
if (dialog.exec())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue