Minor reverts.

This commit is contained in:
askolesov 2017-03-14 14:08:54 +03:00
parent 72e007ea8b
commit 2825d5be6e
2 changed files with 3 additions and 6 deletions

View File

@ -14,8 +14,8 @@ namespace Nikse.SubtitleEdit.Core
private readonly List<HistoryItem> _history;
private SubtitleFormat _format;
private bool _wasLoadedWithFrameNumbers;
public string Header { get; set; } = "";
public string Footer { get; set; } = "";
public string Header { get; set; } = string.Empty;
public string Footer { get; set; } = string.Empty;
public string FileName { get; set; }

View File

@ -18288,8 +18288,6 @@ namespace Nikse.SubtitleEdit.Forms
private void ToolsToolStripMenuItemDropDownOpening(object sender, EventArgs e)
{
SubtitleFormat format = GetCurrentSubtitleFormat();
if (_subtitle?.Paragraphs.Count > 0 && _networkSession == null)
{
toolStripSeparator23.Visible = true;
@ -18302,8 +18300,7 @@ namespace Nikse.SubtitleEdit.Forms
toolStripMenuItemMakeEmptyFromCurrent.Visible = false;
toolStripMenuItemShowOriginalInPreview.Checked = false;
}
styleToolStripMenuItem.Visible = format.HasStyleSupport;
styleToolStripMenuItem.Visible = GetCurrentSubtitleFormat().HasStyleSupport;
}
private void ContextMenuStripWaveformOpening(object sender, System.ComponentModel.CancelEventArgs e)