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:
authorCampbell Barton <ideasman42@gmail.com>2009-09-21 13:17:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-09-21 13:17:14 +0400
commit2379af27d10e21c5d471884ee2f78fba62f8534c (patch)
tree543da0c4711f544cb6f1b9a2b560ec5fee347efc /source/blender/editors/space_file/file_ops.c
parente2e0a864a8c46f4ed836ea7e8fa292276a2137b2 (diff)
tested running the cheat-sheet, found a number of segfaults
pressing escape in the outliner was also crashing (somehow it tried to exit the file selector)
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 70d8de7d509..7839cf5bf4b 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -532,7 +532,7 @@ int file_operator_poll(bContext *C)
int poll = ED_operator_file_active(C);
SpaceFile *sfile= CTX_wm_space_file(C);
- if (!sfile->op) poll= 0;
+ if (!sfile || !sfile->op) poll= 0;
return poll;
}