Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-07-24 06:49:58 +0400
committerMatt Ebb <matt@mke3.net>2010-07-24 06:49:58 +0400
commit780f4c1c781fb8059c4382bf7b482d975829f23b (patch)
tree4a8710fe67a386b64712cb3f1dee9682858408f2 /source/blender/editors
parent1fdb880cf4d746d8e4a1b6372c5b7e2c13025ff2 (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!
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/interface/interface_handlers.c3
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);
}