Add support for main files in file picker
This commit is contained in:
parent
94d27b1717
commit
9f8fbce35b
|
@ -550,6 +550,8 @@ void GMainWindow::OnMenuLoadFile() {
|
||||||
for (const auto& piece : game_list->supported_file_extensions)
|
for (const auto& piece : game_list->supported_file_extensions)
|
||||||
extensions += "*." + piece + " ";
|
extensions += "*." + piece + " ";
|
||||||
|
|
||||||
|
extensions += "main ";
|
||||||
|
|
||||||
QString file_filter = tr("Switch Executable") + " (" + extensions + ")";
|
QString file_filter = tr("Switch Executable") + " (" + extensions + ")";
|
||||||
file_filter += ";;" + tr("All Files (*.*)");
|
file_filter += ";;" + tr("All Files (*.*)");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue