mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-15 10:33:59 +02:00
Fix DropDownButton activation in GridView
This commit is contained in:
@@ -629,7 +629,9 @@ GridItemDelegate::editorEvent( QEvent* event, QAbstractItemModel* model, const Q
|
|||||||
|
|
||||||
if ( item->query() && item->query()->numResults( true ) && !item->query()->results().first()->downloadFormats().isEmpty() )
|
if ( item->query() && item->query()->numResults( true ) && !item->query()->results().first()->downloadFormats().isEmpty() )
|
||||||
{
|
{
|
||||||
|
m_model->sourceModel()->setAllColumnsEditable( true );
|
||||||
m_view->edit( index );
|
m_view->edit( index );
|
||||||
|
m_model->sourceModel()->setAllColumnsEditable( false );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user