Fix profile saving to respect the user's choice - in the cache, alongside the source image, or not at all. Issue 1873

This commit is contained in:
DrSlony
2015-05-20 20:50:24 +02:00
parent a06c7c536a
commit 2111271e8f

View File

@@ -415,7 +415,8 @@ void Thumbnail::imageDeveloped () {
cfs.recentlySaved = true;
cfs.save (getCacheFileName ("data")+".txt");
pparams.save (getCacheFileName ("profiles")+paramFileExtension);
if (options.saveParamsCache)
pparams.save (getCacheFileName ("profiles")+paramFileExtension);
}
void Thumbnail::imageEnqueued () {