Commit 9ed1797d 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

BUG:458764


(cherry picked from commit b0022ad9)
parent 8ac8861c
Pipeline #234456 passed with stage
in 57 minutes and 40 seconds
......@@ -268,6 +268,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