ZynAddSubFx: finalize controller connections in toggleUI()
As controller connections are not fully restored via AutomatableModel::loadSettings(), a call to ControllerConnection::finalizeConnections() is neccessary to do so. Normally this function is called at the end when loading a project but when the user just toggles ZASF's UI settings are saved/loaded without finalizing connections which results in connected knobs which are not reacting to the controller they are connected to. Closes #544.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "string_pair_drag.h"
|
||||
#include "RemoteZynAddSubFx.h"
|
||||
#include "LocalZynAddSubFx.h"
|
||||
#include "ControllerConnection.h"
|
||||
|
||||
#include "embed.cpp"
|
||||
#include "moc_ZynAddSubFx.cxx"
|
||||
@@ -624,6 +625,8 @@ void ZynAddSubFxView::toggleUI()
|
||||
connect( model->m_remotePlugin, SIGNAL( clickedCloseButton() ),
|
||||
m_toggleUIButton, SLOT( toggle() ) );
|
||||
}
|
||||
|
||||
ControllerConnection::finalizeConnections();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user