From a3836cbd35ff61998f632610b6e966599a0d487b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 9 Jan 2026 19:44:13 -0700 Subject: [PATCH] CueEditor: fix ::set_zoom_focus() to do the right thing This had left-over code from when this method was invoked by a set of radio actions. That is no longer true, ::zoom_focus_chosen() is now used --- gtk2_ardour/cue_editor.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/gtk2_ardour/cue_editor.cc b/gtk2_ardour/cue_editor.cc index d1bb1fd0e0..aa78d07efc 100644 --- a/gtk2_ardour/cue_editor.cc +++ b/gtk2_ardour/cue_editor.cc @@ -281,15 +281,6 @@ CueEditor::set_zoom_focus (Editing::ZoomFocus zf) using namespace Editing; - /* this is driven by a toggle on a radio group, and so is invoked twice, - once for the item that became inactive and once for the one that became - active. - */ - - if (!zoom_focus_actions[zf]->get_active()) { - return; - } - /* We don't allow playhead for zoom focus here */ if (zf == ZoomFocusPlayhead) {