Skip to content
Permalink
Browse files

Fix yesterday's changes to currentGroupNode() (fixes addition of groups)

  • Loading branch information
wonder-sk committed Sep 6, 2014
1 parent 8d598d4 commit 07f1f4a838a17fb6a06568a12979616e8e8ba251
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layertree/qgslayertreeview.cpp
@@ -222,7 +222,7 @@ QgsLayerTreeGroup* QgsLayerTreeView::currentGroupNode() const
{
QgsLayerTreeNode* parent = node->parent();
if ( QgsLayerTree::isGroup( parent ) )
return QgsLayerTree::toGroup( node );
return QgsLayerTree::toGroup( parent );
}

if ( QgsLayerTreeModelLegendNode* legendNode = layerTreeModel()->index2legendNode( selectionModel()->currentIndex() ) )

0 comments on commit 07f1f4a

Please sign in to comment.
You can’t perform that action at this time.