Commit 0bd66faa authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

Qt: Fix double activation to enter directories.

Auto-entering directories could never work because
LeafToParent's event id was playlist's and compared to
last activate input_item id.
parent 2cbd4596
......@@ -725,7 +725,7 @@ void StandardPLPanel::activate( const QModelIndex &index )
playlist_Lock( THEPL );
playlist_item_t *p_item = playlist_ItemGetById( THEPL, model->itemId( index ) );
p_item->i_flags |= PLAYLIST_SUBITEM_STOP_FLAG;
lastActivatedId = p_item->p_input->i_id;
lastActivatedId = p_item->i_id;
playlist_Unlock( THEPL );
model->activateItem( index );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment