mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
TabTreeModel: Fix reordering tabs in the same tree with drag&drop
This commit is contained in:
parent
5e2af2ff66
commit
67e82e8923
@ -229,7 +229,7 @@ bool TabTreeModel::dropMimeData(const QMimeData *data, Qt::DropAction action, in
|
||||
if (!it || !parentItem) {
|
||||
return false;
|
||||
}
|
||||
if (it->parent == parentItem) {
|
||||
if (it->parent == parentItem && row < 0) {
|
||||
return false;
|
||||
}
|
||||
if (!parentItem->tab) {
|
||||
|
Loading…
Reference in New Issue
Block a user