patch_for_bug_1724.txt

Patch for Cursor in the legend for a layer drag - gcarrillo -, 2009-06-09 07:26 AM

Download (633 Bytes)

 
1
Index: qgslegend.cpp
2
===================================================================
3
--- qgslegend.cpp	(revision: 10892)
4
+++ qgslegend.cpp	(copia de trabajo)
5
@@ -267,6 +267,7 @@
6
               moveItem( dest, origin );
7
             }
8
           }
9
+          setCursor( QCursor( Qt::SizeVerCursor ) );
10
           setCurrentItem( origin );
11
         }
12
         else
13
@@ -291,6 +292,7 @@
14
             //origin->moveItem(dest);
15
             moveItem( origin, dest );
16
           }
17
+          setCursor( QCursor( Qt::SizeVerCursor ) );
18
           setCurrentItem( origin );
19
         }
20
         else if ( action == QgsLegendItem::INSERT )