[QGIS Commit] r13642 - trunk/qgis/src/app/legend

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Jun 3 22:20:59 EDT 2010


Author: brushtyler
Date: 2010-06-03 22:20:58 -0400 (Thu, 03 Jun 2010)
New Revision: 13642

Modified:
   trunk/qgis/src/app/legend/qgslegend.cpp
Log:
undoing change committed in r13640. This test become unnecessary from r13641

Modified: trunk/qgis/src/app/legend/qgslegend.cpp
===================================================================
--- trunk/qgis/src/app/legend/qgslegend.cpp	2010-06-04 01:39:01 UTC (rev 13641)
+++ trunk/qgis/src/app/legend/qgslegend.cpp	2010-06-04 02:20:58 UTC (rev 13642)
@@ -380,14 +380,6 @@
     checkLayerOrderUpdate();
     return;
   }
-  
-  // make sure you are able to drag the item
-  QgsLegendItem::DRAG_ACTION action = dest->accept( origin );  
-  if ( action == QgsLegendItem::NO_ACTION )
-  {
-    QgsDebugMsg( "Drag NO_ACTION" );
-    return;
-  }
 
   {
     // Do the actual move here.



More information about the QGIS-commit mailing list