Skip to content

Commit a9e0fbe

Browse files
wjyrichBLumia
authored andcommitted
fix: Modify dragapp behind dropapp.
swap dragId and dropId PMS-BUG-288919
1 parent e209f70 commit a9e0fbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/itemarrangementproxymodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void ItemArrangementProxyModel::commitDndOperation(const QString &dragId, const
132132
// make a new folder, move two items into the folder
133133
QString dstFolderId = findAvailableFolderId();
134134
ItemsPage * dstFolder = createFolder(dstFolderId);
135-
dstFolder->appendPage({dragId, dropId});
135+
dstFolder->appendPage({dropId, dragId});
136136
AppItem * dropItem = AppsModel::instance().itemFromDesktopId(dropId);
137137
AppItem::DDECategories dropCategories = AppItem::DDECategories(CategoryUtils::parseBestMatchedCategory(dropItem->categories()));
138138
dstFolder->setName("internal/category/" + QString::number(dropCategories));

0 commit comments

Comments
 (0)