History

adding fix for scripts not being saved

Wayne Chen committed 7 years ago

Commit 017eb9d1 parent 19771801 file · +2 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+2−1
@@ -5252,7 +5252,8 @@ void Application::resumeAfterLoginDialogActionTaken() { · 5251 unmodified lines
52525252 // this will force the model the look at the correct directory (weird order of operations issue)
52535253 scriptEngines->reloadLocalFiles();
52545254
5255− if (!_defaultScriptsLocation.exists()) {
5255+ // if the --scripts command-line argument was used.
5256+ if (!_defaultScriptsLocation.exists() && (arguments().indexOf(QString("--").append(SCRIPTS_SWITCH))) != -1) {
52565257 scriptEngines->loadDefaultScripts();
52575258 scriptEngines->defaultScriptsLocationOverridden(true);
52585259 } else {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t