From 644caa478611ea2604b2d7d8aa7bf89e730dffc2 Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 28 Aug 2012 02:29:48 +0000 Subject: [PATCH] Record Dialog - do not prompt to overwrite on save file dialog (otherwise the user is asked twice when the main dialog asks) --- BizHawk.MultiClient/RecordMovie.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BizHawk.MultiClient/RecordMovie.cs b/BizHawk.MultiClient/RecordMovie.cs index 47eb9abd74..aa49c39a95 100644 --- a/BizHawk.MultiClient/RecordMovie.cs +++ b/BizHawk.MultiClient/RecordMovie.cs @@ -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();