1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Steve's Daulton's patch for bug 640

This commit is contained in:
v.audacity
2013-06-30 03:47:59 +00:00
parent 8ad21677b8
commit 3d204337aa

View File

@@ -2674,7 +2674,8 @@ bool LabelTrack::IsGoodLabelEditKey(int keyCode)
// within that range that are usually printable, plus the ones we use for // within that range that are usually printable, plus the ones we use for
// keyboard navigation. // keyboard navigation.
return keyCode < WXK_START || return keyCode < WXK_START ||
(keyCode >= WXK_END && keyCode <= WXK_DOWN) || (keyCode >= WXK_END && keyCode < WXK_UP) ||
(keyCode == WXK_RIGHT) ||
(keyCode >= WXK_NUMPAD0 && keyCode <= WXK_DIVIDE) || (keyCode >= WXK_NUMPAD0 && keyCode <= WXK_DIVIDE) ||
(keyCode >= WXK_NUMPAD_SPACE && keyCode <= WXK_NUMPAD_ENTER) || (keyCode >= WXK_NUMPAD_SPACE && keyCode <= WXK_NUMPAD_ENTER) ||
(keyCode >= WXK_NUMPAD_HOME && keyCode <= WXK_NUMPAD_END) || (keyCode >= WXK_NUMPAD_HOME && keyCode <= WXK_NUMPAD_END) ||