Fix visibility for batch convert context menu item "Remove all"

This commit is contained in:
Nikolaj Olsson 2020-09-06 17:55:27 +02:00
parent 8cf79ce488
commit ddee820373
2 changed files with 3 additions and 2 deletions

View File

@ -214,6 +214,7 @@ Note: Do check free disk space.</WaveFileMalformed>
<FilterMoreThanTwoLines>More than two lines in one subtitle</FilterMoreThanTwoLines>
<FilterContains>Text contains...</FilterContains>
<FilterFileNameContains>File name contains...</FilterFileNameContains>
<MkvLanguageCodeContains>Matroska (.mkv) language code contains...</MkvLanguageCodeContains>
<FixCommonErrorsErrorX>Fix common errors: {0}</FixCommonErrorsErrorX>
<MultipleReplaceErrorX>Multiple replace: {0}</MultipleReplaceErrorX>
<AutoBalanceErrorX>Auto balance: {0}</AutoBalanceErrorX>

View File

@ -2073,8 +2073,8 @@ namespace Nikse.SubtitleEdit.Forms
}
removeToolStripMenuItem.Visible = listViewInputFiles.SelectedItems.Count > 0;
openContainingFolderToolStripMenuItem.Visible = listViewInputFiles.SelectedItems.Count == 1;
removeAllToolStripMenuItem.Visible = listViewInputFiles.SelectedItems.Count > 0;
toolStripSeparator1.Visible = listViewInputFiles.SelectedItems.Count > 0;
removeAllToolStripMenuItem.Visible = listViewInputFiles.Items.Count > 0;
toolStripSeparator1.Visible = listViewInputFiles.Items.Count > 0;
}
private void RemoveAllToolStripMenuItemClick(object sender, EventArgs e)