mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 11:42:36 +01:00
More focus button i FCE - thx Bob :)
This commit is contained in:
parent
6747d12173
commit
be78881598
@ -816,6 +816,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
Cursor = Cursors.WaitCursor;
|
Cursor = Cursors.WaitCursor;
|
||||||
Next();
|
Next();
|
||||||
ShowAvailableFixesStatus(false);
|
ShowAvailableFixesStatus(false);
|
||||||
|
AcceptButton = buttonFixesApply;
|
||||||
|
buttonFixesApply.Focus();
|
||||||
}
|
}
|
||||||
Cursor = Cursors.Default;
|
Cursor = Cursors.Default;
|
||||||
}
|
}
|
||||||
@ -1126,6 +1128,9 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
groupBoxStep1.Visible = true;
|
groupBoxStep1.Visible = true;
|
||||||
ShowStatus(string.Empty);
|
ShowStatus(string.Empty);
|
||||||
listViewFixes.Items.Clear();
|
listViewFixes.Items.Clear();
|
||||||
|
|
||||||
|
AcceptButton = buttonNextFinish;
|
||||||
|
buttonNextFinish.Focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonCancelClick(object sender, EventArgs e)
|
private void ButtonCancelClick(object sender, EventArgs e)
|
||||||
@ -1423,6 +1428,12 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
buttonFixesApply.Enabled = true;
|
buttonFixesApply.Enabled = true;
|
||||||
|
|
||||||
|
if (listViewFixes.Items.Count == 0)
|
||||||
|
{
|
||||||
|
AcceptButton = buttonNextFinish;
|
||||||
|
buttonNextFinish.Focus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ButtonRefreshFixesClick(object sender, EventArgs e)
|
private void ButtonRefreshFixesClick(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user