Skip to content
Snippets Groups Projects
Commit 1343831f authored by Edric Milaret's avatar Edric Milaret Committed by Alexandre Lision
Browse files

fix diplay name not being set when alias changed

- That doesnt fix smartlist not updating (it's an LRC issue)

Change-Id: Iddc428840856edfab8f297630b42b330f8377530
Tuleap: #477
parent 06d5157d
No related branches found
No related tags found
No related merge requests found
...@@ -82,6 +82,11 @@ AccountDetails::AccountDetails(QWidget *parent) : ...@@ -82,6 +82,11 @@ AccountDetails::AccountDetails(QWidget *parent) :
currentAccount_->cipherModel()->setUseDefault(false); currentAccount_->cipherModel()->setUseDefault(false);
} }
}); });
connect(ui->lrcfg_alias, &QLineEdit::textEdited, [=](const QString& newAlias) {
if (currentAccount_ && currentAccount_->protocol() == Account::Protocol::RING)
currentAccount_->setDisplayName(newAlias);
});
} }
AccountDetails::~AccountDetails() AccountDetails::~AccountDetails()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment