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 committed Jan 30, 2025
1 parent 4e23e78 commit 031bbd1
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 031bbd1

Please sign in to comment.