toggle browser settings
This commit is contained in:
parent
b3791cb39f
commit
63b3ee3942
|
@ -50,6 +50,7 @@ ScrollView {
|
||||||
text: modelData .text
|
text: modelData .text
|
||||||
source: "../../../img/profile/" + modelData.filename
|
source: "../../../img/profile/" + modelData.filename
|
||||||
active: profileMenu.profileCurrentIndex === modelData.id
|
active: profileMenu.profileCurrentIndex === modelData.id
|
||||||
|
visible: modelData.ifEnabled !== "browser" || appSettings.browserEnabled
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
width: profileMenu.width
|
width: profileMenu.width
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
|
|
|
@ -59,7 +59,8 @@ var settingsMenuButtons = [{
|
||||||
}, {
|
}, {
|
||||||
"id": BROWSER_SETTINGS,
|
"id": BROWSER_SETTINGS,
|
||||||
"text": qsTr("Browser settings"),
|
"text": qsTr("Browser settings"),
|
||||||
"filename": "../compassActive.svg"
|
"filename": "../compassActive.svg",
|
||||||
|
"ifEnabled": "browser"
|
||||||
}, {
|
}, {
|
||||||
"id": ADVANCED,
|
"id": ADVANCED,
|
||||||
"text": qsTr("Advanced"),
|
"text": qsTr("Advanced"),
|
||||||
|
|
Loading…
Reference in New Issue