Skip to content

Commit

Permalink
Update src/gui/vector/qgsvectorlayerproperties.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored Jan 30, 2025
1 parent 3e4951a commit 4f8fbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/vector/qgsvectorlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ void QgsVectorLayerProperties::mButtonRemoveJoin_clicked()
// if current item is a child item, we should use its parent to be able to remove join
if ( currentJoinItem && currentJoinItem->parent() )
{
currentJoinItem = mJoinTreeWidget->currentItem()->parent();
currentJoinItem = currentJoinItem->parent();
}

if ( !mLayer || !currentJoinItem )
Expand Down

0 comments on commit 4f8fbc6

Please sign in to comment.