Skip to content

Commit

Permalink
Merge pull request #64 from zigagrcar/master
Browse files Browse the repository at this point in the history
Added default filename to saveFileDialog
  • Loading branch information
lay295 authored Aug 29, 2020
2 parents 4298ce5 + 6aee14b commit b7ca6c9
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 b7ca6c9

Please sign in to comment.