make "Processing profiles -> Reset to default" work also when the default is "(Neutral)"

This commit is contained in:
Alberto Griggio
2017-03-24 14:52:31 +01:00
parent 100ad107ab
commit fa433648cd

View File

@@ -238,8 +238,7 @@ rtengine::procparams::ProcParams* Thumbnail::createProcParamsForUpdate(bool retu
if (!err) {
loadProcParams();
}
} else if (create &&
defProf != DEFPROFILE_DYNAMIC && defProf != DEFPROFILE_INTERNAL){
} else if (create && defProf != DEFPROFILE_DYNAMIC) {
const PartialProfile *p = profileStore.getProfile(defProf);
if (p && !p->pparams->save(outFName)) {
loadProcParams();