Skip to content

Commit ca4fa4e

Browse files
author
mhugent
committed
Applied patch to fix legend cursor. Provided by gcarrillo
git-svn-id: http://svn.osgeo.org/qgis/trunk@10897 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 43202ab commit ca4fa4e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/app/legend/qgslegend.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
267267
moveItem( dest, origin );
268268
}
269269
}
270+
setCursor( QCursor( Qt::SizeVerCursor ) );
270271
setCurrentItem( origin );
271272
}
272273
else
@@ -291,6 +292,7 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
291292
//origin->moveItem(dest);
292293
moveItem( origin, dest );
293294
}
295+
setCursor( QCursor( Qt::SizeVerCursor ) );
294296
setCurrentItem( origin );
295297
}
296298
else if ( action == QgsLegendItem::INSERT )

0 commit comments

Comments
 (0)