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