1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-22 00:42:04 +02:00

fix override type not being reset

This commit is contained in:
Leo Franchi 2011-02-02 17:06:31 -05:00
parent 20253f84c1
commit 27681f8b4c

@ -346,6 +346,8 @@ Tomahawk::EchonestControl::updateData()
// EN HACK: artist-description radio needs description= fields not artist= fields
if( m_matchData.toInt() == Echonest::DynamicPlaylist::ArtistDescriptionType )
m_overrideType = Echonest::DynamicPlaylist::Description;
else
m_overrideType = -1;
}
QLineEdit* edit = qobject_cast<QLineEdit*>( m_input.data() );
if( edit && !edit->text().isEmpty() ) {