Skip to content

Bugfix: Crash when cutting the layers rapidly

Sharaf Zaman requested to merge szaman/krita:bug-443610-crash-on-cutting into master

Update operation of LayerBox seems to be slower, so the selected nodes don't get updated in time. And because KisClipboard::setLayers takes a node which is part of the node graph, we remove the ones which are.

BUG:443610

I am unsure when it->data()->parent() is the way to go, if we have to check whether the node belongs to graph or not?

Merge request reports