1
0
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:
Leo Franchi 2011-04-22 17:39:01 -04:00
parent 519e1bb71e
commit 056efe2cd9

View File

@ -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();