mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
fix logic that broke expanding the steering
This commit is contained in:
@@ -156,7 +156,7 @@ EchonestSteerer::changed()
|
||||
emit steerDescription( steer );
|
||||
}
|
||||
|
||||
if( !m_layout->indexOf( m_description ) > 0 ) {
|
||||
if( m_layout->indexOf( m_description ) == -1 ) {
|
||||
// animate to expand
|
||||
m_layout->insertWidget( m_layout->count() - 1, m_description, 1 );
|
||||
m_layout->setStretchFactor( m_textL, 0 );
|
||||
|
Reference in New Issue
Block a user