Skip to content
Snippets Groups Projects
Commit 912fd3f5 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

accountcombobox: only show username if different from best alias

This follow changes from lrc fixing getBestId.

Change-Id: I6ef298dfbcac9095cd5557c7b1d3caf42c0c3f3e
parent a6ec3930
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ Label {
Layout.fillWidth: true
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
visible: text.length
visible: text.length && text != userAliasText.text
text: AccountListModel.data(AccountListModel.index(0,0),
AccountList.Username)
......
......@@ -79,7 +79,7 @@ ItemDelegate {
Layout.fillWidth: true
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
visible: text.length
visible: text.length && Alias != Username
text: Username
font.pointSize: JamiTheme.textFontSize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment