mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
show name when editing first
This commit is contained in:
@@ -77,6 +77,7 @@ SourcesModel::data( const QModelIndex& index, int role ) const
|
||||
case SourceTreeItemTypeRole:
|
||||
return itemFromIndex( index )->type();
|
||||
case Qt::DisplayRole:
|
||||
case Qt::EditRole:
|
||||
return itemFromIndex( index )->text();
|
||||
case Qt::DecorationRole:
|
||||
return itemFromIndex( index )->icon();
|
||||
|
Reference in New Issue
Block a user