|
|
|
@@ -89,6 +89,7 @@ void StoredSettings::updateGlobalPreferences() |
|
|
|
{
|
|
|
|
// update 'invisible' global settings
|
|
|
|
updateRecentFiles();
|
|
|
|
updateLastWizardFolder();
|
|
|
|
updateKeyMappings();
|
|
|
|
}
|
|
|
|
|
|
|
|
@@ -97,6 +98,11 @@ void StoredSettings::updateRecentFiles() |
|
|
|
getGlobalProperties().setValue ("recentFiles", recentFiles.toString());
|
|
|
|
}
|
|
|
|
|
|
|
|
void StoredSettings::updateLastWizardFolder()
|
|
|
|
{
|
|
|
|
getGlobalProperties().setValue ("lastWizardFolder", lastWizardFolder.getFullPathName());
|
|
|
|
}
|
|
|
|
|
|
|
|
void StoredSettings::updateKeyMappings()
|
|
|
|
{
|
|
|
|
getGlobalProperties().removeValue ("keyMappings");
|
|
|
|
@@ -136,6 +142,8 @@ void StoredSettings::reload() |
|
|
|
recentFiles.restoreFromString (getGlobalProperties().getValue ("recentFiles"));
|
|
|
|
recentFiles.removeNonExistentFiles();
|
|
|
|
|
|
|
|
lastWizardFolder = getGlobalProperties().getValue ("lastWizardFolder");
|
|
|
|
|
|
|
|
loadSwatchColours();
|
|
|
|
}
|
|
|
|
|
|
|
|
|