when editing an audio clock, swallow illegal keys rather than allowing them to reach the rest of the GUI
This commit is contained in:
parent
9cf56aab84
commit
3e0d801509
@ -1419,7 +1419,10 @@ AudioClock::on_key_press_event (GdkEventKey* ev)
|
||||
goto use_input_string;
|
||||
|
||||
default:
|
||||
return false;
|
||||
/* do not allow other keys to passthru to the rest of the GUI
|
||||
when editing.
|
||||
*/
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!insert_map.empty() && (input_string.length() >= insert_map.size())) {
|
||||
|
Loading…
Reference in New Issue
Block a user