Edit -> Multiple replace: fix for visible items in the rule context menu

This commit is contained in:
Nikolaj Olsson 2016-07-10 19:10:51 +02:00
parent fe6fba88f8
commit 4d36347989

View File

@ -496,6 +496,10 @@ namespace Nikse.SubtitleEdit.Forms
moveTopToolStripMenuItem.Visible = isVisible;
moveBottomToolStripMenuItem.Visible = isVisible;
toolStripMenuItemExport.Visible = listViewRules.Items.Count > 0;
toolStripMenuItemRemoveAll.Visible = listViewRules.Items.Count > 0;
toolStripSeparator2.Visible = listViewRules.Items.Count > 0;
deleteToolStripMenuItem.Visible = listViewRules.SelectedItems.Count >= 1;
if (moreThanOneGroup && listViewRules.SelectedItems.Count >= 1)