We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ffe02 commit 8f35a27Copy full SHA for 8f35a27
src/core/layertree/qgslayertreemodel.cpp
@@ -301,7 +301,7 @@ Qt::ItemFlags QgsLayerTreeModel::flags( const QModelIndex& index ) const
301
{
302
if ( !index.isValid() )
303
304
- Qt::ItemFlags rootFlags = Qt::ItemIsEnabled | Qt::ItemIsSelectable;
+ Qt::ItemFlags rootFlags = 0;
305
if ( testFlag( AllowNodeReorder ) )
306
rootFlags |= Qt::ItemIsDropEnabled;
307
return rootFlags;
0 commit comments