Skip to content
Commit 6a98d072 authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Halla Rempt
Browse files

Fix a crash when duplicating active global selection masks

The problem was in the fact that KisGroupLayer::allowAsChild()
forbade adding the second active mask to the same layer, letting
the code silently continue without knowing that the mask was not
created. In this patch we manually deactivate all the active masks
before duplication process.

BUG:382315
(cherry picked from commit 3ef241fbe5eaec159300dc28ce6e5b89fb7bffa6)
parent 3992e4c4
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