Fix count after remove of bookmark(s)

This commit is contained in:
niksedk 2023-10-11 16:32:05 +02:00
parent 9c9e019f30
commit e9df22853c

View File

@ -42,6 +42,11 @@ namespace Nikse.SubtitleEdit.Forms
}
}
UpdateCount();
}
private void UpdateCount()
{
labelCount.Text = $"{LanguageSettings.Current.FindDialog.Count}: {listViewBookmarks.Items.Count}";
}
@ -202,6 +207,8 @@ namespace Nikse.SubtitleEdit.Forms
listViewBookmarks.Items[idx].Focused = true;
}
}
UpdateCount();
}
private void deleteAllToolStripMenuItem_Click(object sender, EventArgs e)
@ -212,6 +219,8 @@ namespace Nikse.SubtitleEdit.Forms
}
listViewBookmarks.Items.Clear();
UpdateCount();
}
}
}