Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -5252,7 +5252,8 @@ void Application::resumeAfterLoginDialogActionTaken() { · 5251 unmodified lines | |||
| 5252 | // this will force the model the look at the correct directory (weird order of operations issue) | 5252 | // this will force the model the look at the correct directory (weird order of operations issue) |
| 5253 | scriptEngines->reloadLocalFiles(); | 5253 | scriptEngines->reloadLocalFiles(); |
| 5254 | 5254 | ||
| 5255 | if (!_defaultScriptsLocation.exists()) { | 5255 | // if the --scripts command-line argument was used. |
| 5256 | if (!_defaultScriptsLocation.exists() && (arguments().indexOf(QString("--").append(SCRIPTS_SWITCH))) != -1) { | ||
| 5256 | scriptEngines->loadDefaultScripts(); | 5257 | scriptEngines->loadDefaultScripts(); |
| 5257 | scriptEngines->defaultScriptsLocationOverridden(true); | 5258 | scriptEngines->defaultScriptsLocationOverridden(true); |
| 5258 | } else { | 5259 | } else { |