Don't display virtual values in check mode

This commit is contained in:
Grégory Soutadé 2011-04-26 20:58:11 +02:00
parent c69621c2fe
commit f7f0482521
1 changed files with 2 additions and 2 deletions

View File

@ -643,8 +643,8 @@ void AccountPanel::UpdateStats()
}
else
{
value = _accountsInitValues[accountIt->id];
value2 = (*notChecked)[accountIt->id] + (*virtuals)[accountIt->id];
value = _accountsInitValues[accountIt->id] - (*virtuals)[accountIt->id];
value2 = (*notChecked)[accountIt->id];
_accountsGrid->SetCellValue(i, ACCOUNT_INIT, wxString::Format(wxT("%.2lf (%.2lf)"), value, value-value2));
value = curAccountAmount[accountIt->id];