Remove remnants of hack from 9f3f3738e7

This fixes multiple selection. The original code using
"selection_countdown" is no longer in place. There's no "counter" to arm.

Shift/Tab name edit works regardless.
"s/m/r" solo/mute/rec shortcuts in the treeview have been discontinued
since a long time as well. Keyboard shortcuts are per window, regardless
of grab_focus()

PS. This change makes it easier for a user to start a drag/drop
operation of multiple regions. That currently assert()s, only
the first selected region is used.
This commit is contained in:
Robin Gareus 2019-08-13 00:49:45 +02:00
parent f8e3a1cdcd
commit 8a9b38e540
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 0 additions and 12 deletions

View File

@ -336,10 +336,6 @@ EditorRegions::enter_notify (GdkEventCrossing*)
return true;
}
/* arm counter so that ::selection_filter() will deny selecting anything for the
next two attempts to change selection status.
*/
_scroller.grab_focus ();
Keyboard::magic_widget_grab_focus ();
return false;
}

View File

@ -366,10 +366,6 @@ EditorRoutes::enter_notify (GdkEventCrossing*)
return true;
}
/* arm counter so that ::selection_filter() will deny selecting anything for the
* next two attempts to change selection status.
*/
_scroller.grab_focus ();
Keyboard::magic_widget_grab_focus ();
return false;
}

View File

@ -260,10 +260,6 @@ EditorSources::enter_notify (GdkEventCrossing*)
return true;
}
/* arm counter so that ::selection_filter() will deny selecting anything for the
next two attempts to change selection status.
*/
_scroller.grab_focus ();
Keyboard::magic_widget_grab_focus ();
return false;
}