More focus button i FCE - thx Bob :)

This commit is contained in:
Nikolaj Olsson 2024-11-19 08:38:15 +01:00
parent 6747d12173
commit be78881598

View File

@ -816,6 +816,8 @@ namespace Nikse.SubtitleEdit.Forms
Cursor = Cursors.WaitCursor;
Next();
ShowAvailableFixesStatus(false);
AcceptButton = buttonFixesApply;
buttonFixesApply.Focus();
}
Cursor = Cursors.Default;
}
@ -1126,6 +1128,9 @@ namespace Nikse.SubtitleEdit.Forms
groupBoxStep1.Visible = true;
ShowStatus(string.Empty);
listViewFixes.Items.Clear();
AcceptButton = buttonNextFinish;
buttonNextFinish.Focus();
}
private void ButtonCancelClick(object sender, EventArgs e)
@ -1423,6 +1428,12 @@ namespace Nikse.SubtitleEdit.Forms
}
buttonFixesApply.Enabled = true;
if (listViewFixes.Items.Count == 0)
{
AcceptButton = buttonNextFinish;
buttonNextFinish.Focus();
}
}
private void ButtonRefreshFixesClick(object sender, EventArgs e)