1
0
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:
Leo Franchi
2011-02-06 22:32:15 -05:00
parent a17f4ea196
commit a42fcde7ff

View File

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