diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-03 18:47:48 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-02-03 18:49:24 +0400 |
commit | e996b880048b6ad6147d1b4af42db6c6aa9ba71d (patch) | |
tree | 11957caa5e01bdb361f238c0dfbb5bc85f1a75d2 /source/blender/editors/util | |
parent | a0e03bb5cf0a92b3108163429b1fac3961530890 (diff) |
Fix T38424: modal number input ctrl - did not work, only ctrl numpad -.
Since there isn't always a numpad available this should work.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r-- | source/blender/editors/util/numinput.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c index b9459d57f26..628492d459d 100644 --- a/source/blender/editors/util/numinput.c +++ b/source/blender/editors/util/numinput.c @@ -320,6 +320,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) utf8_buf = ascii; break; case PADMINUS: + case MINUSKEY: if (event->ctrl) { n->val_flag[idx] ^= NUM_NEGATE; updated = true; @@ -327,6 +328,7 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) } /* fall-through */ case PADSLASHKEY: + case SLASHKEY: if (event->ctrl) { n->val_flag[idx] ^= NUM_INVERSE; updated = true; |