Fix checkbox checked states not being saved

This commit is contained in:
Martijn van Berkel (Flitskikker) 2023-07-16 20:44:18 +02:00
parent cf6248c91b
commit a406e56ed9

View File

@ -291,6 +291,10 @@ namespace Nikse.SubtitleEdit.Forms.BeautifyTimeCodes
};
timeCodesBeautifier.Beautify();
// Re-enable group boxes, otherwise child controls are also disabled, and we need their original state for the checks below
groupBoxTimeCodes.Enabled = true;
groupBoxShotChanges.Enabled = true;
// Save settings
Configuration.Settings.BeautifyTimeCodes.AlignTimeCodes = checkBoxAlignTimeCodes.Checked;