Keep layer selected when it is converted to paint layer
ClosedPublic

Authored by scottpetrovic on Jun 19 2018, 1:32 PM.

Details

Reviewers
rempt
Group Reviewers
Krita
Summary

Fixes Bug 395605

If you take a clone layer or a vector layer and convert it to a paint layer, Krita will select the layer below instead of the converted layer.

Test Plan

Make a clone layer and convert it to a paint layer. See what layer is selected in the layer docker

Make a vector layer and convert it to a paint layer. See what layer is selected in the layer docker

I tried testing it in a group layer as well so it is nested, and it seemed to work ok there.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
scottpetrovic created this revision.Jun 19 2018, 1:32 PM
Restricted Application added a project: Krita. ยท View Herald TranscriptJun 19 2018, 1:32 PM
scottpetrovic requested review of this revision.Jun 19 2018, 1:32 PM
rempt accepted this revision.Jun 21 2018, 10:16 AM
This revision is now accepted and ready to land.Jun 21 2018, 10:16 AM

I pushed out Dmitry's patch that fixes it in a similar manner. Closing this.

https://phabricator.kde.org/P239