Skip to content
Permalink
Browse files

Applied patch from gcarillo to fix ticket #1791. Thanks!

git-svn-id: http://svn.osgeo.org/qgis/trunk@11202 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent
mhugent committed Jul 29, 2009
1 parent 247dd62 commit 93c849dc43049d1b51a3761591d740a81e11b3d6
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/app/legend/qgslegend.cpp
@@ -240,6 +240,11 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
QgsLegendItem* origin = dynamic_cast<QgsLegendItem*>( mItemBeingMoved );
QgsLegendItem* dest = dynamic_cast<QgsLegendItem*>( item );

if ( !item )
{
setCursor( QCursor( Qt::ForbiddenCursor ) );
}

if ( item && ( item != mItemBeingMoved ) )
{
QgsLegendItem::DRAG_ACTION action = dest->accept( origin );

0 comments on commit 93c849d

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