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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-10-16 12:21:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-10-16 12:21:12 +0300
commit7bf7f67a4604e4daf01e87163c49361acb11bbbe (patch)
tree331b9a2b65ef2131b5aafccc6e4340d035306631 /release/scripts/startup/bl_ui/space_filebrowser.py
parent4d9345479aa86f610650f43a6c5e04235d8943d1 (diff)
Revert part of rB4d9345479aa86f61, and cleanup a bit.
'thumbnail_size' is now used in all cases, it controlls column width in other viewmodes of filebrowser. We cannot (easily) rename that DNA member, but I also renamed RNA property, and fixed its tooltip...
Diffstat (limited to 'release/scripts/startup/bl_ui/space_filebrowser.py')
-rw-r--r--release/scripts/startup/bl_ui/space_filebrowser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 0d30113e68a..d7b93dc36f0 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -56,8 +56,7 @@ class FILEBROWSER_HT_header(Header):
layout.prop(params, "display_type", expand=True, text="")
- if params.display_type == 'THUMBNAIL':
- layout.prop(params, "thumbnail_size", text="")
+ layout.prop(params, "display_size", text="")
layout.prop(params, "sort_method", expand=True, text="")