diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/util/numinput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c index f67ea1d5989..4de61395314 100644 --- a/source/blender/editors/util/numinput.c +++ b/source/blender/editors/util/numinput.c @@ -277,7 +277,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) int cur; #ifndef USE_FAKE_EDIT - if ((event->ctrl == 0) && (event->alt == 0) && + if ((event->ctrl == 0) && (event->alt == 0) && (event->ascii != '\0') && strchr("01234567890@%^&*-+/{}()[]<>.|", event->ascii)) { if (!(n->flag & NUM_EDIT_FULL)) { |