Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Applied patch to fix legend cursor. Provided by gcarrillo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10897 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jun 10, 2009
1 parent 814f389 commit 4616b62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/legend/qgslegend.cpp
Expand Up @@ -267,6 +267,7 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
moveItem( dest, origin );
}
}
setCursor( QCursor( Qt::SizeVerCursor ) );
setCurrentItem( origin );
}
else
Expand All @@ -291,6 +292,7 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
//origin->moveItem(dest);
moveItem( origin, dest );
}
setCursor( QCursor( Qt::SizeVerCursor ) );
setCurrentItem( origin );
}
else if ( action == QgsLegendItem::INSERT )
Expand Down

0 comments on commit 4616b62

Please sign in to comment.