diff options
author | Matt Ebb <matt@mke3.net> | 2010-07-24 06:49:58 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-07-24 06:49:58 +0400 |
commit | 780f4c1c781fb8059c4382bf7b482d975829f23b (patch) | |
tree | 4a8710fe67a386b64712cb3f1dee9682858408f2 | |
parent | 1fdb880cf4d746d8e4a1b6372c5b7e2c13025ff2 (diff) |
Fixed an annoying problem where sometimes tooltips would get left
hanging on screen, making you have to mouse over them to clear them.
I hope this was the only issue causing this, if anyone sees hanging tooltips
after this commit, please report it!
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 54deac5d060..4bf4dd23bd6 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -5192,7 +5192,8 @@ static void ui_handle_button_return_submenu(bContext *C, wmEvent *event, uiBut * button_activate_state(C, but, BUTTON_STATE_HIGHLIGHT); } else { - if(event->type != MOUSEMOVE) { + if (ISKEYBOARD(event->type)) { + /* keyboard menu hierarchy navigation, going back to previous level */ but->active->used_mouse= 0; button_activate_state(C, but, BUTTON_STATE_HIGHLIGHT); } |