mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix count after remove of bookmark(s)
This commit is contained in:
parent
9c9e019f30
commit
e9df22853c
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user