forked from organicmaps/organicmaps
Fixed possible crash after deleting a set of bookmarks.
This commit is contained in:
parent
293470495e
commit
a53ee38afb
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,8 @@ void BookmarkManager::DrawItems(shared_ptr<PaintEvent> const & e) const
|
|||
|
||||
void BookmarkManager::DeleteBmCategory(CategoryIter i)
|
||||
{
|
||||
m_selection.ActivateMark(0, false);
|
||||
|
||||
BookmarkCategory * cat = *i;
|
||||
|
||||
FileWriter::DeleteFileX(cat->GetFileName());
|
||||
|
|
Loading…
Add table
Reference in a new issue