Try to fix layout change crash - thx highflowerG :)

Work on #8106
This commit is contained in:
Nikolaj Olsson 2024-03-31 21:04:49 +02:00
parent 2b3354fcd5
commit b523ae72f2

View File

@ -25010,6 +25010,11 @@ namespace Nikse.SubtitleEdit.Forms
private void SetLayout(int layout)
{
if (_isVideoControlsUndocked)
{
RedockVideoControlsToolStripMenuItemClick(null, null);
}
var isLarge = _subtitle.Paragraphs.Count > 1000;
if (isLarge)
{