Launcher: add UX to enable developer mode
This commit is contained in:
parent
c7f66ecf1c
commit
cd2d19f647
1 changed files with 11 additions and 0 deletions
|
@ -130,12 +130,23 @@ Item {
|
|||
defaultValue: true
|
||||
keywords: ["crash", "report", "telemetry", "sentry", "segfault"]
|
||||
setting: "enable-sentry"
|
||||
},
|
||||
|
||||
SettingCheckbox {
|
||||
id: developerMode
|
||||
advanced: true
|
||||
label: qsTr("Enable developer mode")
|
||||
description: qsTr("Enable simulator & aircraft development features, such as increased error messages in log files.")
|
||||
defaultValue: false
|
||||
keywords: ["develop", "developer"]
|
||||
setting: "develop"
|
||||
}
|
||||
]
|
||||
|
||||
onApply: {
|
||||
if (!showConsoleWin.hidden && showConsoleWin.checked) _config.setArg("console");
|
||||
_config.setEnableDisableOption("sentry", enableCrashReporting.checked);
|
||||
if (developerMode.checked) _config.setArg("developer");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue