summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2007-07-02 21:36:04 +0000
committersr55 <[email protected]>2007-07-02 21:36:04 +0000
commitaca5e29f6beb1731a651fcfa763c889305ee98e5 (patch)
treec98a45eda6758308b6673c63453e794bb634477a /win
parent7fec4627b8728cbb034de30c8d9f8634b6894a0c (diff)
WinGui:
- Query editor box cleared on new title or chapter selection. User will still need to clear it by hand if they change any other setting. - In the previous rev a few tool tips were added git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@646 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/Handbrake/frmMain.vb4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/Handbrake/frmMain.vb b/win/Handbrake/frmMain.vb
index 534c7fce6..aca684044 100644
--- a/win/Handbrake/frmMain.vb
+++ b/win/Handbrake/frmMain.vb
@@ -548,6 +548,7 @@ Public Class frmMain
'#
Private Sub drop_chapterFinish_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drop_chapterFinish.SelectedIndexChanged
+ QueryEditorText.Text = "" ' Just clearing the quert editor box. Users may forget
Dim chapterFinish As Integer = drop_chapterFinish.Text
Dim chapterStart As Integer = drop_chapterStart.Text
@@ -561,9 +562,11 @@ Public Class frmMain
End Sub
Private Sub drop_chapterStart_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drop_chapterStart.SelectedIndexChanged
+ QueryEditorText.Text = "" ' Just clearing the quert editor box. Users may forget
Dim chapterFinish As Integer = drop_chapterFinish.Text
Dim chapterStart As Integer = drop_chapterStart.Text
+
Try
If (chapterStart > chapterFinish) Then
MessageBox.Show("Invalid Chapter Range! - Start chapter can not be larger than the Final chapter.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning)
@@ -688,6 +691,7 @@ Public Class frmMain
' Maybe automatically update these in later versions.
lbl_Aspect.Text = "Select a Title"
lbl_RecomendedCrop.Text = "Select a Title"
+ QueryEditorText.Text = ""
' If the title is not automatic then read the dvd.dat file and populate the Subtitles box depending on the title slected.
If drp_dvdtitle.Text <> "Automatic" Then