mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +02:00
Fix crash when logging out while Passphrase screen visible
This commit is contained in:
parent
99552910f7
commit
bb21c52783
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ QmlCommerce::QmlCommerce(QQuickItem* parent) : OffscreenQmlDialog(parent) {
|
|||
connect(ledger.data(), &Ledger::updateCertificateStatus, this, &QmlCommerce::updateCertificateStatus);
|
||||
|
||||
auto accountManager = DependencyManager::get<AccountManager>();
|
||||
connect(accountManager.data(), &AccountManager::usernameChanged, [&]() {
|
||||
connect(accountManager.data(), &AccountManager::usernameChanged, this, [&]() {
|
||||
setPassphrase("");
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue