Skip to content

Commit

Permalink
Fixes #37038: Fix drag and drop field order in designer
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Sep 18, 2020
1 parent fbe5675 commit f1f14e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/vector/qgsattributesformproperties.cpp
Expand Up @@ -1024,12 +1024,12 @@ bool QgsAttributesDnDTree::dropMimeData( QTreeWidgetItem *parent, int index, con

if ( parent )
{
newItem = addItem( parent, itemElement, index );
newItem = addItem( parent, itemElement, index++ );
bDropSuccessful = true;
}
else
{
newItem = addItem( invisibleRootItem(), itemElement, index );
newItem = addItem( invisibleRootItem(), itemElement, index++ );
bDropSuccessful = true;
}

Expand Down

0 comments on commit f1f14e4

Please sign in to comment.