We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7afc3ed + b2e8296 commit face28bCopy full SHA for face28b
1 file changed
source/gui/contextHelp.py
@@ -10,6 +10,7 @@
10
import wx
11
from logHandler import log
12
import documentationUtils
13
+import globalVars
14
15
16
def writeRedirect(helpId: str, helpFilePath: str, contextHelpPath: str):
@@ -73,6 +74,9 @@ def bindHelpEvent(helpId: str, window: wx.Window):
73
74
75
76
def _onEvtHelp(helpId: str, evt: wx.HelpEvent):
77
+ if globalVars.appArgs.secure:
78
+ # Disable context help in secure screens to avoid opening a browser with system-wide privileges.
79
+ return
80
# Don't call evt.skip. Events bubble upwards through parent controls.
81
# Context help for more specific controls should override the less specific parent controls.
82
showHelp(helpId)
0 commit comments