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:
authorTon Roosendaal <ton@blender.org>2009-01-28 15:28:50 +0300
committerTon Roosendaal <ton@blender.org>2009-01-28 15:28:50 +0300
commite687e6ccd2de950eab298fcb32c0926cc7a9eb67 (patch)
tree54e99e920c3f2ff15156ec1d7f86567c720e16e2 /source/blender/editors/space_file/file_ops.c
parent4a1a8271c1666727d6b5784dd468751fff0820bd (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.c2
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 */
}