Forgot to remove font when deleting category
This commit is contained in:
parent
8a22ed135a
commit
a2990ede8a
|
@ -256,6 +256,7 @@ void KissCount::DeleteCategory(Category& category)
|
|||
if (_user->_categories[i].id == category.id)
|
||||
{
|
||||
_user->_categories.erase(_user->_categories.begin()+i);
|
||||
_user->_categoriesFonts.erase(_user->_categoriesFonts.begin()+i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user