From 78db63432126824f4a8753bc1343a1df09a5c459 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 7 Sep 2023 21:24:23 +0200 Subject: [PATCH] Unconditionally show time-selection in info box with object tool Arrangement Section can be selected with the object tool, and should be indicated even when not using Smart mode. --- gtk2_ardour/time_info_box.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/time_info_box.cc b/gtk2_ardour/time_info_box.cc index 9cf770bbf9..2eeea2bd06 100644 --- a/gtk2_ardour/time_info_box.cc +++ b/gtk2_ardour/time_info_box.cc @@ -266,8 +266,7 @@ TimeInfoBox::selection_changed () case Editing::MouseObject: if (selection.regions.empty()) { if (selection.points.empty()) { - Glib::RefPtr tact = ActionManager::get_toggle_action ("MouseMode", "set-mouse-mode-object-range"); - if (tact->get_active() && !selection.time.empty()) { + if (!selection.time.empty()) { /* show selected range */ selection_start->set_off (false); selection_end->set_off (false);