summaryrefslogtreecommitdiff
path: root/libs/ardour/solo_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/solo_control.cc')
-rw-r--r--libs/ardour/solo_control.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/solo_control.cc b/libs/ardour/solo_control.cc
index c31644b026..087e5d04ab 100644
--- a/libs/ardour/solo_control.cc
+++ b/libs/ardour/solo_control.cc
@@ -213,8 +213,12 @@ SoloControl::clear_all_solo_state ()
}
int
-SoloControl::set_state (XMLNode const & node, int)
+SoloControl::set_state (XMLNode const & node, int version)
{
+ if (SlavableAutomationControl::set_state(node, version)) {
+ return -1;
+ }
+
XMLProperty const * prop;
if ((prop = node.property ("self-solo")) != 0) {