Skip to content

Commit

Permalink
fix #1916
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@11693 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Sep 20, 2009
1 parent 0e4c522 commit 93e3bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/legend/qgslegend.cpp
Expand Up @@ -368,6 +368,8 @@ void QgsLegend::mouseReleaseEvent( QMouseEvent * e )
QTreeWidgetItem *destItem = mDropTarget;

QgsLegendItem* origin = dynamic_cast<QgsLegendItem*>( mItemBeingMoved );
mItemBeingMoved = NULL;

QgsLegendItem* dest = dynamic_cast<QgsLegendItem*>( destItem );

// no change?
Expand Down Expand Up @@ -474,8 +476,6 @@ void QgsLegend::mouseReleaseEvent( QMouseEvent * e )
}

checkLayerOrderUpdate();

mItemBeingMoved = NULL;
}

void QgsLegend::mouseDoubleClickEvent( QMouseEvent* e )
Expand Down

0 comments on commit 93e3bb3

Please sign in to comment.