Commit df35f9e2 authored by Severin von Wnuck's avatar Severin von Wnuck Committed by Nate Graham
Browse files

positioner: Fix deferred move with multiple items

Dropping multiple files on a folder view (e.g. desktop) only positions
one file correctly.
Calling `Positioner::move` multiple times overwrites the
previous moves in `m_deferMovePositions`.
Appending the moves to `m_deferMovePositions` fixes the positioning.

BUG: 445441
parent 15ee61c8
Pipeline #132068 passed with stage
in 5 minutes and 46 seconds
......@@ -349,7 +349,7 @@ int Positioner::move(const QVariantList &moves)
{
// Don't allow moves while listing.
if (m_folderModel->status() == FolderModel::Listing) {
m_deferMovePositions = moves;
m_deferMovePositions.append(moves);
return -1;
}
......
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