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

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];