Add blocked account (mainly for statistics)
Really fix the previous bug
This commit is contained in:
@@ -102,6 +102,14 @@ const wxFont User::GetCategoryFont(wxString& catId)
|
||||
return f;
|
||||
}
|
||||
|
||||
Account User::GetAccount(const wxString& accountId)
|
||||
{
|
||||
std::vector<Account>::iterator it;
|
||||
for (it=_accounts.begin(); it !=_accounts.end(); it++)
|
||||
if (it->id == accountId)
|
||||
return *it;
|
||||
}
|
||||
|
||||
wxString User::GetAccountName(const wxString& accountId)
|
||||
{
|
||||
std::vector<Account>::iterator it;
|
||||
|
||||
Reference in New Issue
Block a user