13
0

when editing an audio clock, swallow illegal keys rather than allowing them to reach the rest of the GUI

This commit is contained in:
Paul Davis 2015-09-22 18:24:49 -04:00
parent 9cf56aab84
commit 3e0d801509

View File

@ -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())) {