Skip to content
Permalink
Browse files

[ui] add security warning to the python console

  • Loading branch information
nirvn committed Aug 20, 2018
1 parent 91dc84d commit 2aebeb0157ae8abec14b8263a97871f678ffc0ac
Showing with 3 additions and 2 deletions.
  1. +3 −2 python/console/console_output.py
@@ -169,8 +169,9 @@ def __init__(self, parent=None):

def insertInitText(self):
txtInit = QCoreApplication.translate("PythonConsole",
"Python Console \n"
"Use iface to access QGIS API interface or Type help(iface) for more info")
"Python Console\n"
"Use iface to access QGIS API interface or Type help(iface) for more info\n"
"Security warning: typing commands from an untrusted source can lead to data loss and/or leak")

# some translation string for the console header ends without '\n'
# and the first command in console will be appended at the header text.

0 comments on commit 2aebeb0

Please sign in to comment.
You can’t perform that action at this time.