13
0

Fix prev commit, state-restore of plugins

This commit is contained in:
Robin Gareus 2019-08-20 02:06:55 +02:00
parent 031847f88e
commit 05e0cc4035
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -112,7 +112,7 @@ PluginInsert::~PluginInsert ()
void
PluginInsert::set_strict_io (bool b)
{
if (_plugins.front()->connect_all_audio_outputs ()) {
if (!_plugins.empty() && _plugins.front()->connect_all_audio_outputs ()) {
/* Ignore route setting, allow plugin to add/remove ports */
b = false;
}