Skip to content
Commit 0b260f71 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix deduplication of resources on import

On importing resource we shouldn't just disable the copies. All the
copies should be available in the database as active, until the user
explicitly disables them. Though we should de-duplicate them
based on their name-filename-md5 signature when listing them in the
model. That can be easily done by simple adding "group by" to the
query.

Such solution both fixes legacy presets (bug 446009), and makes
importing resources less embarrassing (bug 445367).

BUG:445367
CCBUG:446009
(cherry picked from commit aeed954b)
parent b17eaf8d
Loading
Loading
Loading
Pipeline #100857 skipped with stage
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment