diff options
author | sr55 <[email protected]> | 2008-04-29 21:34:43 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-04-29 21:34:43 +0000 |
commit | 1fb35b03be03367c930be567995d91679b53199c (patch) | |
tree | 17d1e3c27481b289faa3b5c9d77d9a91858c4394 /win | |
parent | bbd3571c649d6e3735ad4cc493497119e93e5606 (diff) |
WinGui: Bug Fixes
- frmReadDVD recovers better when an error occurs.
- DVD Title dropdown no longer complains about no titles on 1 title sources.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1449 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/frmMain.cs | 2 | ||||
-rw-r--r-- | win/C#/frmReadDVD.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index e4f79a648..052f1b719 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -499,7 +499,7 @@ namespace Handbrake }
private void drp_dvdtitle_Click(object sender, EventArgs e)
{
- if (drp_dvdtitle.Items.Count == 1)
+ if ((drp_dvdtitle.Items.Count == 1) && ((string)drp_dvdtitle.Items[0] == "Automatic"))
MessageBox.Show("There are no titles to select. Please scan the DVD by clicking the 'browse' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)
diff --git a/win/C#/frmReadDVD.cs b/win/C#/frmReadDVD.cs index 98f2110d1..4c62658f6 100644 --- a/win/C#/frmReadDVD.cs +++ b/win/C#/frmReadDVD.cs @@ -111,6 +111,7 @@ namespace Handbrake catch (Exception exc)
{
MessageBox.Show("frmReadDVD.cs - updateUIElements " + exc.ToString());
+ this.Close();
}
}
@@ -152,6 +153,7 @@ namespace Handbrake catch (Exception exc)
{
MessageBox.Show("frmReadDVD.cs - startProc " + exc.ToString());
+ this.Close();
}
}
|