Minor fix for SSA/ASS properties window

This commit is contained in:
Nikolaj Olsson 2018-03-26 14:30:00 +02:00
parent b03a8ce896
commit 8361d7664e

View File

@ -20506,9 +20506,15 @@ namespace Nikse.SubtitleEdit.Forms
private void toolStripMenuItemSubStationAlpha_Click(object sender, EventArgs e)
{
if (tabControlSubtitle.SelectedIndex == TabControlSourceView)
ReloadFromSourceView();
using (var properties = new SubStationAlphaProperties(_subtitle, GetCurrentSubtitleFormat(), _videoFileName, _fileName))
{
properties.ShowDialog(this);
if (properties.ShowDialog(this) == DialogResult.OK && tabControlSubtitle.SelectedIndex == TabControlSourceView)
{
ShowSource();
}
}
}