Skip to content
Snippets Groups Projects
Commit bc67448c authored by Fadi Shehadeh's avatar Fadi Shehadeh Committed by Adrien Béraud
Browse files

contact detail: fix selection for username

replaced MaterialLineEdit by TextEdit

Change-Id: I9e1dfa0a6a1b0a7bfd105cbf8890f1d8c57aeeb9
GitLab: #736
parent 5337ede5
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ BaseModalDialog { ...@@ -66,7 +66,7 @@ BaseModalDialog {
} }
// Visible when user alias is not empty and not equal to id. // Visible when user alias is not empty and not equal to id.
MaterialLineEdit { TextEdit {
id: contactAlias id: contactAlias
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
...@@ -76,8 +76,6 @@ BaseModalDialog { ...@@ -76,8 +76,6 @@ BaseModalDialog {
color: JamiTheme.textColor color: JamiTheme.textColor
visible: aliasText ? (aliasText === idText ? false : true) : false visible: aliasText ? (aliasText === idText ? false : true) : false
padding: 0
readOnly: true
selectByMouse: true selectByMouse: true
wrapMode: Text.NoWrap wrapMode: Text.NoWrap
...@@ -118,7 +116,7 @@ BaseModalDialog { ...@@ -118,7 +116,7 @@ BaseModalDialog {
} }
// Visible when user name is not empty or equals to id. // Visible when user name is not empty or equals to id.
MaterialLineEdit { TextEdit {
id: contactDisplayName id: contactDisplayName
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
...@@ -128,7 +126,6 @@ BaseModalDialog { ...@@ -128,7 +126,6 @@ BaseModalDialog {
color: JamiTheme.textColor color: JamiTheme.textColor
visible: registeredNameText ? (registeredNameText === idText ? false : true) : false visible: registeredNameText ? (registeredNameText === idText ? false : true) : false
padding: 0
readOnly: true readOnly: true
selectByMouse: true selectByMouse: true
...@@ -154,7 +151,7 @@ BaseModalDialog { ...@@ -154,7 +151,7 @@ BaseModalDialog {
color: JamiTheme.faddedFontColor color: JamiTheme.faddedFontColor
} }
MaterialLineEdit { TextEdit {
id: contactId id: contactId
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
...@@ -164,7 +161,6 @@ BaseModalDialog { ...@@ -164,7 +161,6 @@ BaseModalDialog {
font.kerning: true font.kerning: true
color: JamiTheme.textColor color: JamiTheme.textColor
padding: 0
readOnly: true readOnly: true
selectByMouse: true selectByMouse: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment