mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
don't create new revisions for non-local playlists
this can get called when setting a new revision, because creating a new EchonestControl resets the changed timer, which fires and reports that the controls have changed
This commit is contained in:
@@ -281,6 +281,8 @@ DynamicWidget::controlsChanged()
|
||||
if( m_runningOnDemand )
|
||||
generateOrStart(); // as if the stop button were pressed
|
||||
|
||||
if( !m_playlist->author()->isLocal() )
|
||||
return;
|
||||
m_playlist->createNewRevision();
|
||||
m_seqRevLaunched++;
|
||||
}
|
||||
@@ -292,6 +294,8 @@ DynamicWidget::controlChanged( const Tomahawk::dyncontrol_ptr& control )
|
||||
if( m_runningOnDemand )
|
||||
generateOrStart(); // as if the stop button were pressed
|
||||
|
||||
if( !m_playlist->author()->isLocal() )
|
||||
return;
|
||||
m_playlist->createNewRevision();
|
||||
m_seqRevLaunched++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user