Slightly unpleasant fix for creation of tracks from
[ardour.git] / libs / pbd / controllable.cc
index 51877ee206a1e126d76cd2c584975265840f1692..d4ceefe330736313f949c3249038d52d2e423ded 100644 (file)
@@ -129,10 +129,7 @@ Controllable::set_state (const XMLNode& node, int /*version*/)
 
        Stateful::save_extra_xml (node);
 
-       if (!set_id (node)) {
-               error << _("Controllable state node has no ID property") << endmsg;
-               return -1;
-       }
+       set_id (node);
 
        if ((prop = node.property (X_("flags"))) != 0) {
                _flags = (Flag) string_2_enum (prop->value(), _flags);