mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 08:19:42 +01:00
* Fixed stations being stuck as busy after creating them.
This commit is contained in:
parent
c919455d3f
commit
9bac08deda
@ -189,6 +189,8 @@ DynamicPlaylist::createNewRevision( const QString& newrev,
|
||||
const QString& type,
|
||||
const QList< dyncontrol_ptr>& controls )
|
||||
{
|
||||
setBusy( true );
|
||||
|
||||
// can skip the entry stuff. just overwrite with new info
|
||||
source_ptr author = SourceList::instance()->getLocal();
|
||||
// command writes new rev to DB and calls setRevision, which emits our signal
|
||||
@ -411,10 +413,11 @@ void DynamicPlaylist::setRevision( const QString& rev,
|
||||
dpr.type = type;
|
||||
dpr.mode = OnDemand;
|
||||
|
||||
if( applied ) {
|
||||
if( applied )
|
||||
setCurrentrevision( rev );
|
||||
}
|
||||
|
||||
// qDebug() << "EMITTING REVISION LOADED 2!";
|
||||
setBusy( false );
|
||||
emit dynamicRevisionLoaded( dpr );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user