Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix module order - synch with history at import time #4329

Merged
merged 1 commit into from Feb 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/develop/develop.c
Expand Up @@ -1567,6 +1567,9 @@ void dt_dev_read_history_ext(dt_develop_t *dev, const int imgid, gboolean no_ima

// first time we are loading the image, try to import lightroom .xmp if any
if(dev->image_loading && first_run) dt_lightroom_import(dev->image_storage.id, dev, TRUE);

// make sure module_dev is in sync with history
dt_ioppr_write_iop_order_list(dev->iop_order_list, imgid);
}

DT_DEBUG_SQLITE3_PREPARE_V2(dt_database_get(darktable.db), "SELECT history_end FROM main.images WHERE id = ?1",
Expand Down