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.
This commit is contained in:
Robin Gareus 2023-09-07 21:24:23 +02:00
parent 20b646e962
commit 78db634321
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 2 deletions

View File

@ -266,8 +266,7 @@ TimeInfoBox::selection_changed ()
case Editing::MouseObject:
if (selection.regions.empty()) {
if (selection.points.empty()) {
Glib::RefPtr<ToggleAction> 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);