Show VobSub 'Choose language' dialog in taskbar with icon when opening from cmd line - thx Gran Berg :)

This commit is contained in:
niksedk 2014-09-24 20:44:45 +02:00
parent a62c1be5d5
commit 3ef4f1dd99

View File

@ -957,7 +957,13 @@ namespace Nikse.SubtitleEdit.Forms
}
if (languageStreamIds.Count > 1)
{
DvdSubRipChooseLanguage ChooseLanguage = new DvdSubRipChooseLanguage();
var ChooseLanguage = new DvdSubRipChooseLanguage();
if (ShowInTaskbar)
{
ChooseLanguage.Icon = (Icon)this.Icon.Clone();
ChooseLanguage.ShowInTaskbar = true;
ChooseLanguage.ShowIcon = true;
}
ChooseLanguage.Initialize(_vobSubMergedPackist, _palette, vobSubParser.IdxLanguages, string.Empty);
Form form = _main;
if (form == null)