diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 01:47:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-14 01:54:34 +0300 |
commit | 9ea645862cfb967376bb7ae2c7f7ef8a5fe90637 (patch) | |
tree | e92d43256374dd47e068b84cbf4be917c19401f6 /source/blender/editors/space_file | |
parent | dfa3e0ae81c89d45a193ae3d52eaa2b56f6f243b (diff) |
Preferences: add option for header position
Sets the header position for newly created windows with few exceptions
(preferences is always bottom, file-selector is always top).
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index e0413e48346..fb6dfdad4db 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -81,6 +81,7 @@ static SpaceLink *file_new(const ScrArea *UNUSED(area), const Scene *UNUSED(scen ar = MEM_callocN(sizeof(ARegion), "header for file"); BLI_addtail(&sfile->regionbase, ar); ar->regiontype = RGN_TYPE_HEADER; + /* Ignore user preference "USER_HEADER_BOTTOM" here (always show top for new types). */ ar->alignment = RGN_ALIGN_TOP; /* Tools region */ |