Skip to content
This repository has been archived by the owner on Dec 17, 2022. It is now read-only.

Commit

Permalink
Add extra filters to file dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMangler committed Nov 8, 2020
1 parent dcc60f7 commit 9439b51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PrimeHack Updater/Source/WinForms/UpdateUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ private void Later_Click(object sender, EventArgs e)
private void browse_button_Click(object sender, EventArgs e)
{
OpenFileDialog filedialog = new OpenFileDialog();
filedialog.Title = "Select your Metroid Prime: Trilogy dump";
filedialog.Filter = "All GC/Wii files|*.elf;*.dol;*.gcm;*.tgc;*.iso;*.wbfs;*.ciso;*.gcz;*.wad;*.dff;*.wia;*.rvz";
filedialog.Title = "Select your Metroid Prime: Trilogy or Metroid Prime GC dump";
filedialog.Filter = "All GC/Wii files|*.elf;*.dol;*.gcm;*.tgc;*.iso;*.wbfs;*.ciso;*.gcz;*.wad;*.dff;*.wia;*.rvz|ISO Files|*.iso|GCZ Files|*.gcz|WIA Files|*.wia|RVZ Files|*.rvz";
filedialog.FilterIndex = 1;

if (STAShowDialog(filedialog) == DialogResult.OK)
Expand Down

0 comments on commit 9439b51

Please sign in to comment.