summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2017-05-25 20:42:45 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-05-26 08:48:04 +1000
commitc72e3f16a192575421e66ddf40d339363daec7e9 (patch)
tree94dbb16a2c0ef0beeeb24f2ab3890be06f78f772
parent244313f43fc3178fb8f58b01fc6ba125115062ad (diff)
Use correct property names for Editor transport controllable state
These are normalized in the PBD::XMLProperty ctor, which is why Editor::get_transport_controllable_state() uses the hyphenated names to retrieve the properties and will not result in any state format change.
-rw-r--r--gtk2_ardour/ardour_ui.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index f48d4f527d..7b43f33082 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -955,10 +955,10 @@ ARDOUR_UI::get_transport_controllable_state ()
node->set_property (X_("roll"), roll_controllable->id());
node->set_property (X_("stop"), stop_controllable->id());
- node->set_property (X_("goto_start"), goto_start_controllable->id());
- node->set_property (X_("goto_end"), goto_end_controllable->id());
- node->set_property (X_("auto_loop"), auto_loop_controllable->id());
- node->set_property (X_("play_selection"), play_selection_controllable->id());
+ node->set_property (X_("goto-start"), goto_start_controllable->id());
+ node->set_property (X_("goto-end"), goto_end_controllable->id());
+ node->set_property (X_("auto-loop"), auto_loop_controllable->id());
+ node->set_property (X_("play-selection"), play_selection_controllable->id());
node->set_property (X_("rec"), rec_controllable->id());
node->set_property (X_("shuttle"), shuttle_box.controllable()->id());