Fix typo and add new show references setting to localdocs.

This commit is contained in:
Adam Treat
2023-07-05 19:41:07 -04:00
parent 8dcf68dbf4
commit eab92a9d73
6 changed files with 90 additions and 43 deletions

View File

@@ -170,6 +170,23 @@ MySettingsTab {
}
}
RowLayout {
Label {
id: showReferencesLabel
text: qsTr("Show references:")
color: theme.textColor
}
MyCheckBox {
id: showReferencesBox
checked: MySettings.localDocsShowReferences
onClicked: {
MySettings.localDocsShowReferences = !MySettings.localDocsShowReferences
}
ToolTip.text: qsTr("Shows any references in GUI generated by localdocs")
ToolTip.visible: hovered
}
}
Rectangle {
Layout.fillWidth: true
height: 1