diff --git a/interface/wx/webview.h b/interface/wx/webview.h index d7be072476..e510ed0654 100644 --- a/interface/wx/webview.h +++ b/interface/wx/webview.h @@ -775,8 +775,8 @@ public: /** Enable or disable access to dev tools for the user. - This is currently only implemented for the Edge (Chromium) backend - where the dev tools are enabled by default and the WebKit2GTK+ backend. + This is currently only implemented for the Edge (Chromium) backend and + the WebKit2GTK+ backend. Dev tools are disabled by default. @since 3.1.4 */ diff --git a/src/msw/webview_edge.cpp b/src/msw/webview_edge.cpp index 647ecffd48..8e3336dfe8 100644 --- a/src/msw/webview_edge.cpp +++ b/src/msw/webview_edge.cpp @@ -82,7 +82,7 @@ bool wxWebViewEdgeImpl::Create() m_initialized = false; m_isBusy = false; m_pendingContextMenuEnabled = -1; - m_pendingAccessToDevToolsEnabled = -1; + m_pendingAccessToDevToolsEnabled = 0; m_historyLoadingFromList = false; m_historyEnabled = true;