mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 01:03:59 +02:00
adding fix for scripts not being saved
This commit is contained in:
parent
1977180ecf
commit
017eb9d1a3
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