New user creates a blocked account

This commit is contained in:
Grégory Soutadé 2010-11-15 13:32:17 +01:00
parent 1ab91f4a15
commit 2341d3e013

View File

@ -321,7 +321,14 @@ void KissCount::ChangeName(const wxString& name)
void KissCount::NewUser(const wxString& name)
{
wxDateTime curDate;
Account ac = {wxT(""), wxT("Account 1"), wxT(""), false, true};
Account ac = {
.id = wxT(""),
.name = _("Account 1"),
.number = wxT(""),
.shared = false,
.blocked = false
._default = true,
.is_owner = true};
Category cat ;
_db->NewUser(name);