From: sr55 Date: Mon, 2 Jul 2007 21:36:04 +0000 (+0000) Subject: WinGui: X-Git-Tag: 0.9.0~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aca5e29f6beb1731a651fcfa763c889305ee98e5;p=handbrake 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 --- 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