Fix for "Hide video controls" (layout)

This commit is contained in:
niksedk 2023-09-17 09:24:36 +02:00
parent 84b464627f
commit 17d6cb7334
2 changed files with 2 additions and 2 deletions

View File

@ -32,6 +32,7 @@ namespace Nikse.SubtitleEdit.Forms
buttonCancel.Text = LanguageSettings.Current.General.Cancel;
checkBoxHideVideoControls.Text = LanguageSettings.Current.Main.HideVideoControls;
checkBoxHideVideoControls.Checked = hideVideoControls;
ShowVideoControls = !hideVideoControls;
CancelButton = buttonCancel;
AcceptButton = buttonOk;
_layout = initialLayout;

View File

@ -18788,8 +18788,6 @@ namespace Nikse.SubtitleEdit.Forms
return;
}
Configuration.Settings.General.ShowVideoControls = on;
groupBoxVideo.SuspendLayout();
tabControlModes.Visible = on;
var left = 5;
@ -24476,6 +24474,7 @@ namespace Nikse.SubtitleEdit.Forms
if (Configuration.Settings.General.ShowVideoControls != form.ShowVideoControls)
{
Configuration.Settings.General.ShowVideoControls = form.ShowVideoControls;
ToggleVideoControlsOnOff(form.ShowVideoControls);
}
}