Don't use dummy controllers for connections if not loading projects (#4493)

Remove the need of ControllerConnection::finalizeConnections
when not loading projects.
Fix ZynAddSubFX knob disconnection when exporting.
This commit is contained in:
Hyunjin Song
2018-08-01 14:35:16 +09:00
committed by GitHub
parent b268abba45
commit e07f9a3b64
3 changed files with 12 additions and 11 deletions

View File

@@ -121,9 +121,6 @@ void LadspaEffect::changeSampleRate()
// the IDs of re-created controls have been saved and now need to be
// resolved again
AutomationPattern::resolveAllIDs();
// make sure, connections are ok
ControllerConnection::finalizeConnections();
}

View File

@@ -645,8 +645,6 @@ void ZynAddSubFxView::toggleUI()
connect( model->m_remotePlugin, SIGNAL( clickedCloseButton() ),
m_toggleUIButton, SLOT( toggle() ) );
}
ControllerConnection::finalizeConnections();
}
}