mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 13:33:26 +02:00
Merge pull request #14611 from wayne-chen/fixScriptsNotBeingSaved-78
MS20356: Running Scripts list doesn't persist between Interface restarts
This commit is contained in:
commit
c80b3dea52
1 changed files with 2 additions and 1 deletions
|
@ -5252,7 +5252,8 @@ void Application::resumeAfterLoginDialogActionTaken() {
|
|||
// this will force the model the look at the correct directory (weird order of operations issue)
|
||||
scriptEngines->reloadLocalFiles();
|
||||
|
||||
if (!_defaultScriptsLocation.exists()) {
|
||||
// if the --scripts command-line argument was used.
|
||||
if (!_defaultScriptsLocation.exists() && (arguments().indexOf(QString("--").append(SCRIPTS_SWITCH))) != -1) {
|
||||
scriptEngines->loadDefaultScripts();
|
||||
scriptEngines->defaultScriptsLocationOverridden(true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue