Merge pull request #7242 from Lawrence37/batch-exif-reset-fix

Fix for all EXIF data getting selected
This commit is contained in:
Lawrence37
2024-11-24 16:12:55 -08:00
committed by GitHub

View File

@@ -79,8 +79,10 @@ void MetaDataPanel::read(const rtengine::procparams::ProcParams* pp, const Param
}
}
exifpanel->read(pp, pedited);
iptcpanel->read(pp, pedited);
if (!batchMode) { // Not used in batch mode.
exifpanel->read(pp, pedited);
iptcpanel->read(pp, pedited);
}
enableListener();
}
@@ -94,8 +96,10 @@ void MetaDataPanel::write(rtengine::procparams::ProcParams* pp, ParamsEdited* pe
pedited->metadata.mode = metadataMode->get_active_row_number() != 3;
}
exifpanel->write(pp, pedited);
iptcpanel->write(pp, pedited);
if (!batchMode) { // Invalid in batch mode.
exifpanel->write(pp, pedited);
iptcpanel->write(pp, pedited);
}
}