Show .schem files in open file dialog.

They can just as well be seen with the All Files filter, but might as well add them to the NBT Files filter as well.
This commit is contained in:
wizjany 2019-04-08 11:05:26 -04:00 committed by GitHub
parent 66a2140f6f
commit c402eb5b0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ namespace NBTExplorer.Windows
using (OpenFileDialog ofd = new OpenFileDialog() {
RestoreDirectory = true,
Multiselect = true,
Filter = "All Files|*|NBT Files (*.dat, *.schematic)|*.dat;*.nbt;*.schematic|Region Files (*.mca, *.mcr)|*.mca;*.mcr",
Filter = "All Files|*|NBT Files (*.dat, *.schematic)|*.dat;*.nbt;*.schematic;*.schem|Region Files (*.mca, *.mcr)|*.mca;*.mcr",
FilterIndex = 0,
}) {
if (ofd.ShowDialog() == DialogResult.OK) {