Bump framework version and small cleanup

This commit is contained in:
Alexey Golub
2018-01-26 18:13:25 +02:00
parent bb2b04d2e5
commit f7ef3bbb44
5 changed files with 9 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ namespace DiscordChatExporter.Gui.ViewModels
Guild = m.Guild;
Channel = m.Channel;
SelectedFormat = _settingsService.LastExportFormat;
FilePath = $"{Guild} - {Channel}.{SelectedFormat.GetFileExtension()}"
FilePath = $"{Guild.Name} - {Channel.Name}.{SelectedFormat.GetFileExtension()}"
.Replace(Path.GetInvalidFileNameChars(), '_');
From = null;
To = null;