mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fix for "Hide video controls" (layout)
This commit is contained in:
parent
84b464627f
commit
17d6cb7334
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user