From c72e3f16a192575421e66ddf40d339363daec7e9 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 25 May 2017 20:42:45 +1000 Subject: 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. --- gtk2_ardour/ardour_ui.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour') 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()); -- cgit v1.2.3