extend Mixbus' "Safe Mode"

This commit is contained in:
Robin Gareus 2016-10-30 22:25:18 +01:00
parent e08c80370c
commit a994fd30bd
1 changed files with 5 additions and 0 deletions

View File

@ -3637,6 +3637,11 @@ Session::add_instant_xml (XMLNode& node, bool write_to_config)
XMLNode*
Session::instant_xml (const string& node_name)
{
#ifdef MIXBUS // "Safe Mode" (shift + click open) -> also ignore instant.xml
if (get_disable_all_loaded_plugins ()) {
return NULL;
}
#endif
return Stateful::instant_xml (node_name, _path);
}