Commit eca0131c authored by Jan Möbius's avatar Jan Möbius

Only load ofs scripts

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6439 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8d50b788
......@@ -101,6 +101,7 @@ void Core::slotExecuteAfterStartup() {
QStringList scriptFiles = scriptDir.entryList(QDir::Files,QDir::Name);
for ( int i = 0 ; i < scriptFiles.size(); ++i )
if ( scriptFiles[i].endsWith("ofs") )
emit executeFileScript(scriptDir.path() + QDir::separator() + scriptFiles[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