Blender Git Commit Log

Git Commits -> Revision c1c3d66

Revision c1c3d66 by Sergey Sharybin (master)
November 24, 2011, 13:51 (GMT)
Fix #29306: Alt+N, Enter In Image View Does closes the dialog without executing.

If enter is pressed outside of any button in menu, generate two menu return values:
- UI_RETURN_CANCEL so button wouldn't be executed
- UI_RETURN_POPUP_OK so callback associated with popup block would be executed

Commit Details:

Full Hash: c1c3d66079adb2e0ea7b7eb9bdb2997f37623591
SVN Revision: 42125
Parent Commit: 51014d8
Lines Changed: +48, -38

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+26, -25) (Diff)
/source/blender/editors/interface/interface_handlers.c (+9, -9) (Diff)
/source/blender/editors/interface/interface_regions.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+11, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021