Fix loading bundles #7426
authorRobin Gareus <robin@gareus.org>
Sun, 16 Jul 2017 19:44:00 +0000 (21:44 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 16 Jul 2017 19:44:00 +0000 (21:44 +0200)
libs/ardour/user_bundle.cc

index e9bd792be9b7adaba314f649a5de4b8654a6b0b9..ee98f02858f55bcff5235b579983ca755d166cd5 100644 (file)
@@ -60,7 +60,7 @@ ARDOUR::UserBundle::set_state (XMLNode const & node, int /*version*/)
                        return -1;
                }
 
-               if ((*i)->get_property ("name", str)) {
+               if (!(*i)->get_property ("name", str)) {
                        PBD::error << _("Node for Channel has no \"name\" property") << endmsg;
                        return -1;
                }