mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
do not grab magic widget focus for MIDI editing purposes
The bindings use will all work just fine without this focus grab; the focus grab in turn confuses the use of some/all global bindings (such as the spacebar to toggle tranport state)
This commit is contained in:
parent
39595244e8
commit
318af69057
1 changed files with 0 additions and 5 deletions
|
|
@ -408,16 +408,11 @@ Editor::mouse_mode_toggled (MouseMode m)
|
||||||
*/
|
*/
|
||||||
ActionManager::set_sensitive (_midi_actions, true);
|
ActionManager::set_sensitive (_midi_actions, true);
|
||||||
|
|
||||||
/* mark "magic widget focus" so that we handle key events
|
|
||||||
* correctly
|
|
||||||
*/
|
|
||||||
Keyboard::magic_widget_grab_focus ();
|
|
||||||
} else {
|
} else {
|
||||||
/* undo some of the above actions, since we're not in internal
|
/* undo some of the above actions, since we're not in internal
|
||||||
edit mode.
|
edit mode.
|
||||||
*/
|
*/
|
||||||
ActionManager::set_sensitive (_midi_actions, false);
|
ActionManager::set_sensitive (_midi_actions, false);
|
||||||
Keyboard::magic_widget_drop_focus ();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (was_internal && !internal_editing()) {
|
if (was_internal && !internal_editing()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue