toggle browser settings

This commit is contained in:
Iuri Matias 2021-03-31 15:33:55 -04:00
parent b3791cb39f
commit 63b3ee3942
2 changed files with 3 additions and 1 deletions

View File

@ -50,6 +50,7 @@ ScrollView {
text: modelData .text
source: "../../../img/profile/" + modelData.filename
active: profileMenu.profileCurrentIndex === modelData.id
visible: modelData.ifEnabled !== "browser" || appSettings.browserEnabled
Layout.fillWidth: true
width: profileMenu.width
onClicked: function () {

View File

@ -59,7 +59,8 @@ var settingsMenuButtons = [{
}, {
"id": BROWSER_SETTINGS,
"text": qsTr("Browser settings"),
"filename": "../compassActive.svg"
"filename": "../compassActive.svg",
"ifEnabled": "browser"
}, {
"id": ADVANCED,
"text": qsTr("Advanced"),