mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
show name when editing first
This commit is contained in:
parent
519e1bb71e
commit
056efe2cd9
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user