Commit 01e9f6be authored by Isaak Lim's avatar Isaak Lim

The filename of the script is now no longer saved when a script is executed.

It will only be saved on using the GUI to open/save a script.
This should prevent accidental overwriting of startup scripts.

closes #1614

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16831 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bc7215a4
......@@ -400,9 +400,6 @@ void ScriptingPlugin::slotExecuteFileScript( QString _filename ) {
if ( OpenFlipper::Options::gui() )
scriptWidget_->currentScript->setPlainText(script);
// Set lastfilename to the opened file
lastFile_ = _filename;
slotExecuteScript(script);
} else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment