Commit 7f93f10d authored by Jan Möbius's avatar Jan Möbius

Block updates wile loading files from the command line

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15093 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ee9c34d7
......@@ -163,6 +163,8 @@ void Core::slotExecuteAfterStartup() {
slotCall( "scripting" ,"clearEditor()",ok);
}
OpenFlipper::Options::loadingSettings(true);
// Open all files given at the commandline
for ( uint i = 0 ; i < commandLineFileNames_.size() ; ++i ) {
......@@ -181,6 +183,8 @@ void Core::slotExecuteAfterStartup() {
}
}
OpenFlipper::Options::loadingSettings(false);
// If we have scripting support, execute the scripts given at the commandline.
if ( scriptingSupport )
for ( uint i = 0 ; i < commandLineScriptNames_.size() ; ++i ) {
......
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