fixed unlinking objects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@333 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -281,13 +281,13 @@ public:
|
||||
_object1->unlinkObject( _object2 );
|
||||
_object2->unlinkObject( _object1 );
|
||||
|
||||
if( !_object1->m_automation_pattern )
|
||||
if( _object1->m_automation_pattern
|
||||
&& _object1->m_automation_pattern
|
||||
== _object2->m_automation_pattern )
|
||||
{
|
||||
_object1->m_automation_pattern =
|
||||
_object1->getAutomationPattern();
|
||||
_object2->m_automation_pattern = new automationPattern(
|
||||
*_object1->m_automation_pattern, _object2 );
|
||||
}
|
||||
_object2->m_automation_pattern =
|
||||
new automationPattern( *_object1->m_automation_pattern );
|
||||
}
|
||||
|
||||
virtual void FASTCALL saveSettings( QDomDocument & _doc,
|
||||
|
||||
Reference in New Issue
Block a user