fix(SettingsCallsChat): disable correctly chat notification sound field

This commit is contained in:
Ronan Abhamon 2018-04-18 18:02:37 +02:00
parent 62cabb5a9d
commit 96c93d1c20
3 changed files with 3 additions and 2 deletions

View file

@ -1188,7 +1188,7 @@ Cliquez ici : <a href="%1">%1</a>
</message>
<message>
<source>callRecorderEnabledLabel</source>
<translation>Activer l'enregistrement d&apos;appel</translation>
<translation>Activer l&apos;enregistrement d&apos;appel</translation>
</message>
<message>
<source>chatNotificationSoundEnabledLabel</source>

View file

@ -100,6 +100,7 @@ TextField {
id: mouseArea
anchors.fill: parent
enabled: !textField.readOnly
hoverEnabled: true
onClicked: fileDialog.open()

View file

@ -152,7 +152,7 @@ TabContainer {
label: qsTr('chatNotificationSoundLabel')
FileChooserButton {
enabled: enableChatNotificationSound.checked
readOnly: !enableChatNotificationSound.checked
selectedFile: SettingsModel.chatNotificationSoundPath
onAccepted: SettingsModel.chatNotificationSoundPath = selectedFile