Skip to content
Permalink
Browse files

drag layer fix

  • Loading branch information
blazek committed Jun 16, 2011
1 parent 59992b0 commit 72e5edc5509b3804b59482ca9451f114e5075ddd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/browser/qgsbrowsermodel.cpp
@@ -83,7 +83,7 @@ Qt::ItemFlags QgsBrowserModel::flags( const QModelIndex & index ) const
Qt::ItemFlags flags = Qt::ItemIsEnabled | Qt::ItemIsSelectable;

QgsDataItem* ptr = ( QgsDataItem* ) index.internalPointer();
if ( ptr->type() != QgsDataItem::Layer )
if ( ptr->type() == QgsDataItem::Layer )
{
flags |= Qt::ItemIsDragEnabled;
}

0 comments on commit 72e5edc

Please sign in to comment.
You can’t perform that action at this time.