KissCount

KissCount Commit Details

Date:2013-02-26 15:05:34 (7 years 4 months ago)
Author:Grégory Soutadé
Branch:dev, master, qt5
Commit:fb2541358c7fc3fa60ef7bb6f49d4ebef449eb70
Parents: 2ec5e124da3a7fe8c0b37a3ac46106ea95fafe56
Message:Fix a regression : meta description always updated to first child description

Changes:
Msrc/view/grid/GridAccount.cpp (3 diffs)

File differences

src/view/grid/GridAccount.cpp
10811081
10821082
10831083
1084
1084
10851085
10861086
10871087
......
11081108
11091109
11101110
1111
11121111
11131112
11141113
......
11191118
11201119
11211120
1122
1121
11231122
11241123
11251124
if (new_op.parent)
{
parent = GetOperation(new_op.parent);
UpdateMeta(parent);
UpdateMeta(parent);
}
_kiss->UpdateStats();
meta.year = op.year;
meta.month = op.month;
meta.day = op.day;
meta.description = "";
for(it=meta.childs.begin(); it!=meta.childs.end(); it++)
{
meta.month = op.month;
meta.day = op.day;
}
if (!meta.description.length() && op.description.length())
if (meta.description.length() == 0)
meta.description = op.description;
if (!category)
{

Archive Download the corresponding diff file