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
This commit is contained in:
Paul Davis
2026-01-09 19:44:13 -07:00
parent 2bfdbc161b
commit a3836cbd35

View File

@@ -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) {