New user creates a blocked account
This commit is contained in:
parent
1ab91f4a15
commit
2341d3e013
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user