mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-01 01:51:58 +02:00
fix delete logic
This commit is contained in:
@@ -272,8 +272,9 @@ void
|
|||||||
DynamicWidget::controlsChanged()
|
DynamicWidget::controlsChanged()
|
||||||
{
|
{
|
||||||
// save the current playlist
|
// save the current playlist
|
||||||
if( !m_controls->lastControlDirty() )
|
if( !m_controls->lastControlDirty() ) {
|
||||||
m_playlist->generator()->controls().removeLast();
|
m_playlist->generator()->removeControl( m_playlist->generator()->controls().last() );
|
||||||
|
}
|
||||||
m_playlist->createNewRevision();
|
m_playlist->createNewRevision();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user