diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-03 22:03:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-03 22:03:44 +0400 |
commit | 59c0cbbc34869e21bb687eb60506add04e5bf2d0 (patch) | |
tree | 47149200b9fb00397ed6c65768086e20df211484 /source/blender/editors | |
parent | cdc564064c5d7e442b1accf51670b6287c149ff4 (diff) |
fix for missing null check in own recent commit.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 81900b0ba39..b4970d5933c 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -5157,7 +5157,9 @@ void uiContextActivePropertyHandle(bContext *C) * currently this is mainly so reset defaults works for the * operator redo panel - campbell */ uiBlock *block= activebut->block; - block->handle_func(C, block->handle_func_arg, 0); + if (block->handle_func) { + block->handle_func(C, block->handle_func_arg, 0); + } } } |