mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Minor UI improvements
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@271 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
a2d212dd95
commit
69be8e1365
2
src/Forms/SplitLongLines.Designer.cs
generated
2
src/Forms/SplitLongLines.Designer.cs
generated
@ -216,6 +216,7 @@
|
||||
this.comboBoxLineContinuationBegin.Name = "comboBoxLineContinuationBegin";
|
||||
this.comboBoxLineContinuationBegin.Size = new System.Drawing.Size(80, 21);
|
||||
this.comboBoxLineContinuationBegin.TabIndex = 2;
|
||||
this.comboBoxLineContinuationBegin.SelectedIndexChanged += new System.EventHandler(this.ContinuationBeginEndChanged);
|
||||
//
|
||||
// labelLineContinuationBeginEnd
|
||||
//
|
||||
@ -236,6 +237,7 @@
|
||||
this.comboBoxLineContinuationEnd.Name = "comboBoxLineContinuationEnd";
|
||||
this.comboBoxLineContinuationEnd.Size = new System.Drawing.Size(80, 21);
|
||||
this.comboBoxLineContinuationEnd.TabIndex = 3;
|
||||
this.comboBoxLineContinuationEnd.SelectedIndexChanged += new System.EventHandler(this.ContinuationBeginEndChanged);
|
||||
//
|
||||
// SubtitleListview1
|
||||
//
|
||||
|
@ -355,5 +355,17 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
SubtitleListview1.SelectIndexAndEnsureVisible(index);
|
||||
}
|
||||
|
||||
private void ContinuationBeginEndChanged(object sender, EventArgs e)
|
||||
{
|
||||
Cursor = Cursors.WaitCursor;
|
||||
int index = -1;
|
||||
if (listViewFixes.SelectedItems.Count > 0)
|
||||
index = listViewFixes.SelectedItems[0].Index;
|
||||
GeneratePreview(true);
|
||||
if (index >= 0)
|
||||
listViewFixes.Items[index].Selected = true;
|
||||
Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user