fix(SettingsUi): disable delete avatars button when contacts are disabled

This commit is contained in:
Ronan Abhamon 2018-07-20 10:50:10 +02:00
parent 9464240b2b
commit 0ef749e01e

View file

@ -105,8 +105,6 @@ TabContainer {
}
}
}
FormEmptyLine {}
}
// -------------------------------------------------------------------------
@ -115,12 +113,14 @@ TabContainer {
Form {
title: qsTr('dataTitle')
visible: SettingsModel.contactsEnabled
width: parent.width
}
TextButtonB {
anchors.right: parent.right
text: qsTr('cleanAvatars')
visible: SettingsModel.contactsEnabled
onClicked: Logic.cleanAvatars()
}