Record Dialog - do not prompt to overwrite on save file dialog (otherwise the user is asked twice when the main dialog asks)

This commit is contained in:
adelikat 2012-08-28 02:29:48 +00:00
parent 1a75f0734d
commit 644caa4786
1 changed files with 2 additions and 3 deletions

View File

@ -12,10 +12,8 @@ namespace BizHawk.MultiClient
{
public partial class RecordMovie : Form
{
//TODO
//Allow relative paths in record textbox
//Hook up RecordFrom box
//PAL vs NTSC when appropriate (by SystemID)
//Other platform specific header lines
Movie MovieToRecord;
@ -124,6 +122,7 @@ namespace BizHawk.MultiClient
sfd.InitialDirectory = PathManager.MakeAbsolutePath(Global.Config.MoviesPath, "");
sfd.DefaultExt = "." + Global.Config.MovieExtension;
sfd.FileName = RecordBox.Text;
sfd.OverwritePrompt = false;
sfd.Filter = "Generic Movie Files (*." + Global.Config.MovieExtension + ")|*." + Global.Config.MovieExtension + "|" + Global.MainForm.GetMovieExtName() + "|All Files (*.*)|*.*";
Global.Sound.StopSound();