Fix toggle mode issue when modes are hidden - thx Leon :)

Fix #5517
This commit is contained in:
niksedk 2021-11-23 15:09:25 +01:00
parent f8ef9db3cc
commit ba6d0fea98

View File

@ -15575,7 +15575,7 @@ namespace Nikse.SubtitleEdit.Forms
e.SuppressKeyPress = true;
}
else if (_shortcuts.MainGeneralToggleMode == e.KeyData)
else if (_shortcuts.MainGeneralToggleMode == e.KeyData && Configuration.Settings.General.ShowVideoControls)
{
var nextModeIndex = tabControlModes.SelectedIndex + 1;
if (nextModeIndex == tabControlModes.TabCount)
@ -15585,6 +15585,7 @@ namespace Nikse.SubtitleEdit.Forms
tabControlModes.SelectedIndex = nextModeIndex;
tabControlModes.Focus();
e.SuppressKeyPress = true;
}
else if (_shortcuts.MainGeneralTogglePreviewOnVideo == e.KeyData)