Pattern: disconnect PianoRoll before clearing current pattern
Closes #1083.
This commit is contained in:
@@ -651,6 +651,8 @@ patternView::~patternView()
|
||||
{
|
||||
if( engine::pianoRoll()->currentPattern() == m_pat )
|
||||
{
|
||||
engine::pianoRoll()->disconnect( this );
|
||||
|
||||
engine::pianoRoll()->setCurrentPattern( NULL );
|
||||
// we have to have the song-editor to stop playing if it played
|
||||
// us before
|
||||
|
||||
Reference in New Issue
Block a user