Skip to content
Browse files

Improve security warning for run script

  • Loading branch information
m-kuhn authored and nyalldawson committed Jun 28, 2020
1 parent af670a2 commit 9e1edb0e42a3f3f2fc4ac15458d508f2bd649880
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgisapp.cpp
@@ -7330,7 +7330,8 @@ void QgisApp::runScript( const QString &filePath )
QMessageBox msgbox;
if ( showScriptWarning )
msgbox.setText( tr( "Security warning: executing a script from an untrusted source can lead to data loss and/or leak. Continue?" ) );
msgbox.setWindowTitle( tr( "Security warning" ) );
msgbox.setText( tr( "Executing a script from an untrusted source can harm your computer. Only continue if you trust the source of the script. Continue?" ) );
msgbox.setIcon( QMessageBox::Icon::Warning );
msgbox.addButton( QMessageBox::Yes );
msgbox.addButton( QMessageBox::No );

0 comments on commit 9e1edb0

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