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:
parent
f8e3a1cdcd
commit
8a9b38e540
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue