diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-28 15:28:50 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-28 15:28:50 +0300 |
commit | e687e6ccd2de950eab298fcb32c0926cc7a9eb67 (patch) | |
tree | 54e99e920c3f2ff15156ec1d7f86567c720e16e2 /source/blender/editors/space_file/file_ops.c | |
parent | 4a1a8271c1666727d6b5784dd468751fff0820bd (diff) |
2.5
Bugfix in last commit: the read-file hotkey (enter) has to be in
the window handler queue, so it nicely exits all queues without
using free'd data.
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 3f057e8a7f4..c6ed0d159d6 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -506,7 +506,7 @@ void ED_FILE_OT_load(struct wmOperatorType *ot) /* api callbacks */ ot->exec= file_load_exec; - ot->poll= ED_operator_file_active; + ot->poll= ED_operator_file_active; /* <- important, handler is on window level */ } |