summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-09-22 18:24:49 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-28 17:42:11 -0400
commit3e0d801509290ff438b19773ac144f91ea51706e (patch)
tree4b45fec0d5b7356315cda7f647b797c13a970d4f
parent9cf56aab843461721ef0dc611c8dda391b2e7e60 (diff)
when editing an audio clock, swallow illegal keys rather than allowing them to reach the rest of the GUI
-rw-r--r--gtk2_ardour/audio_clock.cc5
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())) {