fix2711.diff

new patch (use this, contains only the patch for this ticket) - Giuseppe Sucameli, 2010-05-26 04:26 AM

Download (593 Bytes)

View differences:

src/app/legend/qgslegend.cpp (working copy)
377 377
    checkLayerOrderUpdate();
378 378
    return;
379 379
  }
380
  
381
  // make sure you are able to drag the item
382
  // to fix #2711, #2528, #2018
383
  QgsLegendItem::DRAG_ACTION action = dest->accept( origin );  
384
  if ( action == QgsLegendItem::NO_ACTION && mDropAction != NO_ACTION )
385
  {
386
    QgsDebugMsg( "Drag NO_ACTION" );
387
    return;
388
  }
380 389

  
381 390
  {
382 391
    // Do the actual move here.