Fix textbox font name

This commit is contained in:
Nikolaj Olsson 2020-11-14 21:39:15 +01:00
parent 5476733383
commit d233fa8ddd
2 changed files with 1 additions and 3 deletions

View File

@ -234,8 +234,6 @@ namespace Nikse.SubtitleEdit.Forms
UiUtil.FixLargeFonts(tabControlButtons, buttonAutoBreak);
UiUtil.FixLargeFonts(groupBoxEdit, buttonAutoBreak);
UiUtil.InitializeSubtitleFont(textBoxSource);
UiUtil.InitializeSubtitleFont(textBoxListViewText);
UiUtil.InitializeSubtitleFont(textBoxListViewTextAlternate);
UiUtil.InitializeSubtitleFont(SubtitleListview1);
using (var graphics = CreateGraphics())

View File

@ -584,7 +584,7 @@ namespace Nikse.SubtitleEdit.Logic
private static void FixFontsInner(Control form, int iterations = 5)
{
if (iterations < 1)
if (iterations < 1 || form is SETextBox)
{
return;
}