From 3e0d801509290ff438b19773ac144f91ea51706e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 22 Sep 2015 18:24:49 -0400 Subject: when editing an audio clock, swallow illegal keys rather than allowing them to reach the rest of the GUI --- gtk2_ardour/audio_clock.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/audio_clock.cc') diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index df74ec789b..54f17725eb 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -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())) { -- cgit v1.2.3