projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Generic MIDI control now saves+restores its state; PBD::ID now requires a buffer...
[ardour.git]
/
libs
/
surfaces
/
tranzport
/
tranzport_control_protocol.cc
diff --git
a/libs/surfaces/tranzport/tranzport_control_protocol.cc
b/libs/surfaces/tranzport/tranzport_control_protocol.cc
index 04d56c575c38d370e262a6bf89bb53a57e2cff98..2e2d9432443965ac84ba8b512ff3d43b35c69c7d 100644
(file)
--- a/
libs/surfaces/tranzport/tranzport_control_protocol.cc
+++ b/
libs/surfaces/tranzport/tranzport_control_protocol.cc
@@
-1577,7
+1577,8
@@
TranzportControlProtocol::print (int row, int col, const char *text)
XMLNode&
TranzportControlProtocol::get_state ()
{
- XMLNode* node = new XMLNode (_name); /* node name must match protocol name */
+ XMLNode* node = new XMLNode (X_("Protocol"));
+ node->add_property (X_("name"), _name);
return *node;
}