Skip to content

Commit 9983059

Browse files
committed
Fixed a bug where the app project directory
would not be set after installing AlphaLive via the DVD with the Audio Library Installer.
1 parent 6cefec2 commit 9983059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/File and Settings/StoredSettings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,14 @@ void StoredSettings::setDefaultValues()
132132
{
133133
//if directory is currently in the previous set location, move the folder to the new default location
134134
oldProjectDir.moveFileTo (defaultProjectDirectory);
135-
StoredSettings::getInstance()->appProjectDir = defaultProjectDirectory;
136135
}
137136
else if (defaultProjectDirectory.exists() == false)
138137
{
139138
//if there is no directory on the system at all, create a default one
140139
defaultProjectDirectory.createDirectory();
141-
StoredSettings::getInstance()->appProjectDir = defaultProjectDirectory;
142140
}
141+
142+
appProjectDir = defaultProjectDirectory;
143143
}
144144

145145
if (appProjectDir.exists() == false)

0 commit comments

Comments
 (0)