diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-05-28 20:24:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-28 20:24:17 +0200 |
| commit | 4d0f458f2f342fdcf222a9586fabaacf3692586c (patch) | |
| tree | 8e4499a5e34b33caa9523259222d1f9de9135ba6 /Source/Core | |
| parent | 9fa1e8f45ffe6c8ed8465231dc1a3d29a4be2b0f (diff) | |
| parent | d5e397aa14a3370fd4d98cd558aa77f0c1cfe760 (diff) | |
Merge pull request #5494 from leoetlino/file-selector
WX: Minor file selector fixes
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 27c3f80ca8..0ba143172f 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -340,10 +340,9 @@ void CFrame::DoOpen(bool Boot) wxString path = wxFileSelector( _("Select the file to load"), wxEmptyString, wxEmptyString, wxEmptyString, - _("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad)") + - wxString::Format( - "|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff;*.tmd|%s", - wxGetTranslation(wxALL_FILES)), + _("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad, dff)") + + wxString::Format("|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff|%s", + wxGetTranslation(wxALL_FILES)), wxFD_OPEN | wxFD_FILE_MUST_EXIST, this); if (path.IsEmpty()) |
