mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 15:58:16 +00:00
fix(Settings): always show all options when developer settings are enabled
This commit is contained in:
parent
9771d0bda3
commit
93b0de6ffc
2 changed files with 8 additions and 7 deletions
|
|
@ -195,8 +195,6 @@ TabContainer {
|
|||
}
|
||||
|
||||
FormLine {
|
||||
visible: SettingsModel.chatEnabled
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('fileServerLabel')
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,10 @@ TabContainer {
|
|||
|
||||
Form {
|
||||
title: qsTr('pathsTitle')
|
||||
visible: SettingsModel.videoSupported || SettingsModel.callRecorderEnabled || SettingsModel.chatEnabled
|
||||
visible: SettingsModel.videoSupported ||
|
||||
SettingsModel.callRecorderEnabled ||
|
||||
SettingsModel.chatEnabled ||
|
||||
SettingsModel.developerSettingsEnabled
|
||||
width: parent.width
|
||||
|
||||
FormLine {
|
||||
|
|
@ -77,7 +80,7 @@ TabContainer {
|
|||
}
|
||||
|
||||
FormLine {
|
||||
visible: SettingsModel.callRecorderEnabled
|
||||
visible: SettingsModel.callRecorderEnabled || SettingsModel.developerSettingsEnabled
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('savedCallsLabel')
|
||||
|
|
@ -92,7 +95,7 @@ TabContainer {
|
|||
}
|
||||
|
||||
FormLine {
|
||||
visible: SettingsModel.chatEnabled
|
||||
visible: SettingsModel.chatEnabled || SettingsModel.developerSettingsEnabled
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('downloadLabel')
|
||||
|
|
@ -113,14 +116,14 @@ TabContainer {
|
|||
|
||||
Form {
|
||||
title: qsTr('dataTitle')
|
||||
visible: SettingsModel.contactsEnabled
|
||||
visible: SettingsModel.contactsEnabled || SettingsModel.developerSettingsEnabled
|
||||
width: parent.width
|
||||
}
|
||||
|
||||
TextButtonB {
|
||||
anchors.right: parent.right
|
||||
text: qsTr('cleanAvatars')
|
||||
visible: SettingsModel.contactsEnabled
|
||||
visible: SettingsModel.contactsEnabled || SettingsModel.developerSettingsEnabled
|
||||
|
||||
onClicked: Logic.cleanAvatars()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue