Commit b0022ad9 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix copy-paste operation not working after using the move tool

The copying should force-finish the move operation

parent 63f63419
Pipeline #234455 failed with stage
in 52 minutes and 24 seconds
......@@ -271,6 +271,8 @@ void KisCutCopyActionFactory::run(bool willCut, bool makeSharpClip, KisViewManag
KisImageSP image = view->image();
if (!image) return;
if (!view->blockUntilOperationsFinished(image)) return;
// Reference layers is a fake node, so it isn't added to the layer stack, this results in KisSelectedShapesProxy not
// being aware of the active shapeManager and its selected shapes.
const auto currentToolHasSelection =
Supports Markdown
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