mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
fix override type not being reset
This commit is contained in:
@@ -346,6 +346,8 @@ Tomahawk::EchonestControl::updateData()
|
|||||||
// EN HACK: artist-description radio needs description= fields not artist= fields
|
// EN HACK: artist-description radio needs description= fields not artist= fields
|
||||||
if( m_matchData.toInt() == Echonest::DynamicPlaylist::ArtistDescriptionType )
|
if( m_matchData.toInt() == Echonest::DynamicPlaylist::ArtistDescriptionType )
|
||||||
m_overrideType = Echonest::DynamicPlaylist::Description;
|
m_overrideType = Echonest::DynamicPlaylist::Description;
|
||||||
|
else
|
||||||
|
m_overrideType = -1;
|
||||||
}
|
}
|
||||||
QLineEdit* edit = qobject_cast<QLineEdit*>( m_input.data() );
|
QLineEdit* edit = qobject_cast<QLineEdit*>( m_input.data() );
|
||||||
if( edit && !edit->text().isEmpty() ) {
|
if( edit && !edit->text().isEmpty() ) {
|
||||||
|
Reference in New Issue
Block a user