Fix a bug : Forgot +1 when creating tags list in GridAccount
This commit is contained in:
parent
efc2ce20b3
commit
f0e0aba4f3
|
@ -120,7 +120,7 @@ GridAccount::GridAccount(KissCount* kiss, QWidget *parent,
|
|||
_categories[i] = _(categoryIt->name.toStdString().c_str()) ;
|
||||
}
|
||||
|
||||
_tags = new QString[user->GetTagsNumber()] ;
|
||||
_tags = new QString[user->GetTagsNumber()+1] ;
|
||||
_tags[0] = _("No Tag");
|
||||
for(i=1, tagIt = user->_tags.begin();
|
||||
tagIt != user->_tags.end();
|
||||
|
|
Loading…
Reference in New Issue
Block a user