From 2111271e8fabe0ec3fe4aa07e1a4dc72b88e8e5d Mon Sep 17 00:00:00 2001 From: DrSlony Date: Wed, 20 May 2015 20:50:24 +0200 Subject: [PATCH] Fix profile saving to respect the user's choice - in the cache, alongside the source image, or not at all. Issue 1873 --- rtgui/thumbnail.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtgui/thumbnail.cc b/rtgui/thumbnail.cc index 861f599ae..3de27c54a 100644 --- a/rtgui/thumbnail.cc +++ b/rtgui/thumbnail.cc @@ -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 () {