mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Don't flicker all breadcrumbs when any breadcrumb combo is changed
This commit is contained in:
@@ -44,6 +44,8 @@ SiblingCrumbButton::SiblingCrumbButton(
|
|||||||
|
|
||||||
void SiblingCrumbButton::setIndex( QModelIndex index )
|
void SiblingCrumbButton::setIndex( QModelIndex index )
|
||||||
{
|
{
|
||||||
|
if ( m_index == index && text() == index.data().toString() )
|
||||||
|
return;
|
||||||
m_index = index;
|
m_index = index;
|
||||||
setText( index.data().toString() );
|
setText( index.data().toString() );
|
||||||
fillCombo();
|
fillCombo();
|
||||||
|
Reference in New Issue
Block a user