Commit 585b3018 authored by Tim Waugh's avatar Tim Waugh Committed by Jim Nelson

Use importable title when importing media.

parent 3191d7d6
......@@ -49,8 +49,11 @@ public class DataImportSource {
metadata = null;
}
title = (metadata != null) ? metadata.get_title() : null;
exposure_time = (metadata != null) ? metadata.get_exposure_date_time() : null;
title = db_photo.get_title();
if (title == null) {
title = (metadata != null) ? metadata.get_title() : null;
}
PhotoPreview? preview = metadata != null ? metadata.get_preview(0) : null;
if (preview != null) {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment