WX: Remove .tmd from the file selector filter

No idea why it was in the whitelist.
This commit is contained in:
Léo Lam 2017-05-28 19:07:12 +02:00
parent 6f197f3a3c
commit 473f90c08f
1 changed files with 2 additions and 3 deletions

View File

@ -341,9 +341,8 @@ void CFrame::DoOpen(bool Boot)
wxString path = wxFileSelector( wxString path = wxFileSelector(
_("Select the file to load"), wxEmptyString, wxEmptyString, wxEmptyString, _("Select the file to load"), wxEmptyString, wxEmptyString, wxEmptyString,
_("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad)") + _("All GC/Wii files (elf, dol, gcm, iso, tgc, wbfs, ciso, gcz, wad)") +
wxString::Format( wxString::Format("|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff|%s",
"|*.elf;*.dol;*.gcm;*.iso;*.tgc;*.wbfs;*.ciso;*.gcz;*.wad;*.dff;*.tmd|%s", wxGetTranslation(wxALL_FILES)),
wxGetTranslation(wxALL_FILES)),
wxFD_OPEN | wxFD_FILE_MUST_EXIST, this); wxFD_OPEN | wxFD_FILE_MUST_EXIST, this);
if (path.IsEmpty()) if (path.IsEmpty())