[linux] Allow devtools by default

This commit is contained in:
Lea Anthony 2023-11-11 19:05:03 +11:00
commit 1f16655769
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -428,7 +428,7 @@ func (w *linuxWebviewWindow) run() {
w.center() // needs to be queued until after GTK starts up!
}
}
if w.parent.options.DevToolsEnabled {
if w.parent.options.DevToolsEnabled || globalApplication.isDebugMode {
w.toggleDevTools()
if w.parent.options.OpenInspectorOnStartup {
w.showDevTools()