[GUI] Fix build
This commit is contained in:
parent
2b403f16ea
commit
2389d2f352
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ void ChainDataModel::getAccountImpl(QString accountIdentifier, Account* const *
|
|||
(*itr)->deleteLater();
|
||||
m_accounts.erase(itr);
|
||||
} else {
|
||||
m_accounts.modify(itr, [=](Account* a){
|
||||
m_accounts.modify(itr, [this,&accountPackage](Account* a){
|
||||
a->setProperty("id", ObjectId(accountPackage->account.id.instance()));
|
||||
a->setProperty("name", QString::fromStdString(accountPackage->account.name));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue