mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-23 19:40:07 +01:00
TWK-420: Show resolver wrench immediately after enabling a resolver.
This commit is contained in:
parent
e7bd29d228
commit
f0a6d4e8bb
@ -109,6 +109,11 @@ ResolversModel::setData( const QModelIndex& index, const QVariant& value, int ro
|
||||
m_enabledResolvers.append( resolver );
|
||||
|
||||
TomahawkApp::instance()->enableScriptResolver( resolver );
|
||||
emit dataChanged( index, index );
|
||||
|
||||
if( Tomahawk::ExternalResolver* res = TomahawkApp::instance()->resolverForPath( resolver ) ) {
|
||||
connect( res, SIGNAL( changed() ), this, SLOT( resolverChanged() ) );
|
||||
}
|
||||
} else if( state == Qt::Unchecked ) {
|
||||
m_enabledResolvers.removeAll( resolver );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user