diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 22:18:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-09 22:18:52 +0000 |
commit | 84ddf22169c3aee19d3420b20c0e2f1b9bbdf02f (patch) | |
tree | bd0ea7e57c143d4d88abc957bafc3941a343d8a4 /libs/ardour/configuration.cc | |
parent | 2575a3907b665e0ff3f151221e5c753c84d512ee (diff) |
handle multiple imports of the same file better (via better source naming); make session properties editor pretty much work for search paths
git-svn-id: svn://localhost/ardour2/branches/3.0@7989 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/configuration.cc')
-rw-r--r-- | libs/ardour/configuration.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/configuration.cc b/libs/ardour/configuration.cc index d5ca426a74..dd863ee398 100644 --- a/libs/ardour/configuration.cc +++ b/libs/ardour/configuration.cc @@ -69,6 +69,9 @@ ConfigVariableBase::set_from_node (XMLNode const & node) if ((prop = child->property ("name")) != 0) { if (prop->value() == _name) { if ((prop = child->property ("value")) != 0) { + if (_name == "audio-search-path") { + sleep (1); + } set_from_string (prop->value()); return true; } @@ -94,6 +97,7 @@ ConfigVariableBase::set_from_node (XMLNode const & node) if (option->name() == _name) { if ((opt_prop = option->property ("val")) != 0) { + cerr << "Setting " << _name << " to " << opt_prop->value() << endl; set_from_string (opt_prop->value()); return true; } |