Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3479,7 +3479,6 @@ void Application::cleanupScriptMenuItem(const QString& scriptMenuName) { · 3478 unmodified lines | ||
| 3479 | 3479 | } |
| 3480 | 3480 | |
| 3481 | 3481 | void Application::loadScript(const QString& fileNameString) { |
| 3482 | − _activeScripts.append(fileNameString); | |
| 3483 | 3482 | QByteArray fileNameAscii = fileNameString.toLocal8Bit(); |
| 3484 | 3483 | const char* fileName = fileNameAscii.data(); |
| 3485 | 3484 | |
| @@ -3489,6 +3488,7 @@ void Application::loadScript(const QString& fileNameString) { · 3 unmodified lines | ||
| 3489 | 3488 | return; |
| 3490 | 3489 | } |
| 3491 | 3490 | qDebug("Loading file %s...", fileName); |
| 3491 | + _activeScripts.append(fileNameString); | |
| 3492 | 3492 | |
| 3493 | 3493 | // get file length.... |
| 3494 | 3494 | unsigned long fileLength = file.tellg(); |