mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
Add support for main files in file picker
This commit is contained in:
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)
|
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 a new issue