Minor update for #3412

This commit is contained in:
Nikolaj Olsson 2019-02-27 21:21:05 +01:00
parent 263ed3992a
commit d8fc5c8bc8
2 changed files with 5 additions and 2 deletions

View File

@ -122,7 +122,7 @@
this.buttonCancel.Location = new System.Drawing.Point(874, 538);
this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.Size = new System.Drawing.Size(75, 21);
this.buttonCancel.TabIndex = 8;
this.buttonCancel.TabIndex = 110;
this.buttonCancel.Text = "C&ancel";
this.buttonCancel.UseVisualStyleBackColor = true;
//
@ -133,7 +133,7 @@
this.buttonOK.Location = new System.Drawing.Point(793, 538);
this.buttonOK.Name = "buttonOK";
this.buttonOK.Size = new System.Drawing.Size(75, 21);
this.buttonOK.TabIndex = 7;
this.buttonOK.TabIndex = 100;
this.buttonOK.Text = "&OK";
this.buttonOK.UseVisualStyleBackColor = true;
this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);

View File

@ -256,11 +256,14 @@ namespace Nikse.SubtitleEdit.Forms
private void checkBoxMinDuration_CheckedChanged(object sender, EventArgs e)
{
numericUpDownDurationMin.Enabled = checkBoxMinDuration.Checked;
GeneratePreview();
}
private void checkBoxMaxDuration_CheckedChanged(object sender, EventArgs e)
{
numericUpDownDurationMax.Enabled = checkBoxMaxDuration.Checked;
GeneratePreview();
}
}