Fix wrong list view for context menu

This commit is contained in:
OmrSi 2021-02-21 15:30:31 +02:00
parent b2aed8e4ae
commit e947bd87ac

View File

@ -2298,7 +2298,7 @@ namespace Nikse.SubtitleEdit.Forms.Styles
private void contextMenuStripFile_Opening(object sender, System.ComponentModel.CancelEventArgs e)
{
var moreThanOne = listViewStorage.Items.Count > 1;
var moreThanOne = listViewStyles.Items.Count > 1;
moveUpToolStripMenuItem.Visible = moreThanOne;
moveBottomToolStripMenuItem.Visible = moreThanOne;
moveTopToolStripMenuItem.Visible = moreThanOne;