Add support for main files in file picker

merge-requests/60/head
Zach Hilman 2018-06-14 12:16:56 +07:00
parent 94d27b1717
commit 9f8fbce35b
1 changed files with 2 additions and 0 deletions

@ -550,6 +550,8 @@ void GMainWindow::OnMenuLoadFile() {
for (const auto& piece : game_list->supported_file_extensions)
extensions += "*." + piece + " ";
extensions += "main ";
QString file_filter = tr("Switch Executable") + " (" + extensions + ")";
file_filter += ";;" + tr("All Files (*.*)");