Merge pull request #1085 from LMMS/stable-1.1

sync
This commit is contained in:
Vesa V
2014-08-21 18:44:36 +03:00
2 changed files with 5 additions and 3 deletions

View File

@@ -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