Skip to content

Commit

Permalink
Added default filename to saveFileDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
zigagrcar committed Aug 23, 2020
1 parent 4298ce5 commit 6aee14b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/PageClipDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ private async void btnDownload_Click(object sender, RoutedEventArgs e)

saveFileDialog.Filter = "MP4 Files | *.mp4";
saveFileDialog.RestoreDirectory = true;
saveFileDialog.FileName = textStreamer.Text + " - " + textTitle.Text;

if (saveFileDialog.ShowDialog() == true)
{
Expand Down
1 change: 1 addition & 0 deletions TwitchDownloaderWPF/PageVodDownload.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ private async void btnDownload_Click(object sender, RoutedEventArgs e)

saveFileDialog.Filter = "MP4 Files | *.mp4";
saveFileDialog.RestoreDirectory = true;
saveFileDialog.FileName = textStreamer.Text + " - " + textTitle.Text;

if (saveFileDialog.ShowDialog() == true)
{
Expand Down

0 comments on commit 6aee14b

Please sign in to comment.