Fix a bug : Forgot +1 when creating tags list in GridAccount

This commit is contained in:
Grégory Soutadé 2015-01-27 18:50:55 +01:00
parent efc2ce20b3
commit f0e0aba4f3
1 changed files with 1 additions and 1 deletions

View File

@ -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();