input-rec: append `.p2m2` automatically when browsing for a file

This commit is contained in:
Tyler Wilding 2022-04-03 20:47:15 -04:00 committed by Tyler Wilding
parent 13d623f350
commit 4f0c880e3e
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ void NewInputRecordingDlg::onBrowseForPathClicked()
dialog.setFileMode(QFileDialog::AnyFile);
dialog.setWindowTitle("Select a File");
dialog.setNameFilter(tr("Input Recording Files (*.p2m2)"));
dialog.setDefaultSuffix("p2m2");
QStringList fileNames;
if (dialog.exec())
{