Add Delete operation in GridAccount

Fix a bug : Forgot to update stats when there is a modification
This commit is contained in:
2011-11-01 18:01:17 +01:00
parent a9bcdcc733
commit 6c4ee9dec3
8 changed files with 140 additions and 151 deletions

View File

@@ -467,6 +467,10 @@ void KissCount::GetMonthStats(int month, int year, int nbDays,
_db->GetMonthStats(_user, month, year, nbDays, operations, categories);
}
void KissCount::UpdateStats()
{
_wxUI->UpdateStats();
}
std::map<int, double>* KissCount::GetNotChecked(int month, int year)
{

View File

@@ -113,7 +113,8 @@ public:
void GetMonthStats(int month, int year, int nbDays,
std::map<int, std::vector<double> >* operations,
std::map<int, double>* categories);
void UpdateStats();
std::map<int, double>* GetNotChecked(int month, int year);
std::map<int, double>* GetVirtualAmount(int month, int year);