Skip to content

Commit

Permalink
Issue #27 - File Open Dialog now uses a default filter that includes …
Browse files Browse the repository at this point in the history
…both text and log files
  • Loading branch information
snakefoot committed Mar 13, 2013
1 parent d13a256 commit 5d12f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SnakeTail/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private void openToolStripMenuItem_Click(object sender, EventArgs e)
OpenFileDialog fileDialog = new OpenFileDialog();
fileDialog.Multiselect = true;
fileDialog.Title = "Open Log File";
fileDialog.Filter = "Text Files|*.txt|Log Files|*.log|All Files|*.*";
fileDialog.Filter = "Default Filter|*.txt;*.text;*.log*;*.xlog|Log Files|*.log*;*.xlog|Text Files|*.txt;*.text|All Files|*.*";
if (fileDialog.ShowDialog() != DialogResult.OK)
return;

Expand Down

0 comments on commit 5d12f08

Please sign in to comment.