public partial class frmOptions : Form\r
{\r
private frmMain mainWindow;\r
+ private bool optionsWindowLoading = true;\r
\r
public frmOptions(frmMain mw)\r
{\r
// Use Experimental dvdnav\r
if (Properties.Settings.Default.noDvdNav)\r
check_dvdnav.CheckState = CheckState.Checked;\r
+\r
+ optionsWindowLoading = false;\r
}\r
\r
#region General\r
}\r
else\r
Properties.Settings.Default.autoNamePath = text_an_path.Text;\r
+\r
+ if (text_an_path.Text == "{source}" && !optionsWindowLoading)\r
+ {\r
+ MessageBox.Show(\r
+ "Be careful with this feature. Make sure you can write to the same folder as the source! \n\n If you are encoding from a DVD, do not use this feature as HandBrake will not be able to write to the DVD!",\r
+ "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ }\r
}\r
\r
private void check_m4v_CheckedChanged(object sender, EventArgs e)\r