Showing the changes to libraries/script-engine/src/ScriptEngines.cpp (1 of 2 files). Show all
Unified · Split
| @@ -319,13 +319,10 @@ void ScriptEngines::loadScripts() { · 318 unmodified lines | ||
| 319 | 319 | |
| 320 | 320 | // loads all saved scripts |
| 321 | 321 | auto runningScripts = runningScriptsHandle.get(); |
| 322 | − if (runningScripts.empty()) { | |
| 323 | − loadDefaultScripts(); | |
| 324 | − return; | |
| 325 | − } | |
| 326 | 322 | |
| 327 | 323 | for (auto script : runningScripts) { |
| 328 | 324 | auto string = script.toString(); |
| 325 | + qDebug() << string; | |
| 329 | 326 | if (!string.isEmpty()) { |
| 330 | 327 | loadScript(string); |
| 331 | 328 | } |