diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-22 18:24:49 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-28 17:42:11 -0400 |
commit | 3e0d801509290ff438b19773ac144f91ea51706e (patch) | |
tree | 4b45fec0d5b7356315cda7f647b797c13a970d4f /gtk2_ardour/audio_clock.cc | |
parent | 9cf56aab843461721ef0dc611c8dda391b2e7e60 (diff) |
when editing an audio clock, swallow illegal keys rather than allowing them to reach the rest of the GUI
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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())) { |