From da0f1728ed3958c9db581d0c03debfc9517282c6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 14 Nov 2024 06:58:08 +0100 Subject: [PATCH] Fix External Sync Toggle Button --- gtk2_ardour/application_bar.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/application_bar.cc b/gtk2_ardour/application_bar.cc index ce5e223c91..e6f112f723 100644 --- a/gtk2_ardour/application_bar.cc +++ b/gtk2_ardour/application_bar.cc @@ -451,7 +451,7 @@ ApplicationBar::ui_actions_ready () Glib::RefPtr act; - ActionManager::get_action (X_("Transport"), X_("ToggleExternalSync")); + act = ActionManager::get_action (X_("Transport"), X_("ToggleExternalSync")); _sync_button.set_related_action (act); act = ActionManager::get_action ("Transport", "TogglePunchIn"); @@ -947,6 +947,7 @@ ApplicationBar::parameter_changed (std::string p) if (!_session->config.get_external_sync()) { _sync_button.set_text (S_("SyncSource|Int.")); } else { + _sync_button.set_text (TransportMasterManager::instance().current()->display_name()); } } else if (p == "sync-source") { if (_session) {