Skip to content

Commit

Permalink
Allow also .csv extension for text export
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-englert committed Jun 7, 2018
1 parent c8ad894 commit bd5b696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ResXManager.View/Visuals/ResourceView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private void ExportExcelCommandConverter_Executing([NotNull] object sender, [Not
if (_configuration.ExcelExportMode == ExcelExportMode.Text)
{
dlg.DefaultExt = ".txt";
dlg.Filter = "Text files|*.txt|All Files|*.*";
dlg.Filter = "Text files|*.txt|CSV files|*.csv|All Files|*.*";

This comment has been minimized.

Copy link
@joshardt

joshardt Jun 7, 2018

👍

}

if (!dlg.ShowDialog().GetValueOrDefault())
Expand All @@ -169,7 +169,7 @@ private void ImportExcelCommandConverter_Executing([NotNull] object sender, [Not
CheckPathExists = true,
CheckFileExists = true,
DefaultExt = ".xlsx",
Filter = "Exported files|*.xlsx;*.txt|All Files|*.*",
Filter = "Exported files|*.xlsx;*.txt;*.csv|All Files|*.*",
FilterIndex = 0,
Multiselect = false
};
Expand Down

0 comments on commit bd5b696

Please sign in to comment.