[Bf-blender-cvs] [c28a37b5d1c] blender2.8: UI: Fix flicker in File Browser header
Pablo Vazquez
noreply at git.blender.org
Mon Jul 23 18:41:22 CEST 2018
Commit: c28a37b5d1ce9ee63e8fb744c759711ba594f434
Author: Pablo Vazquez
Date: Mon Jul 23 18:41:12 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc28a37b5d1ce9ee63e8fb744c759711ba594f434
UI: Fix flicker in File Browser header
Move running jobs to the beginning of the row.
Thanks @sergey for reporting
===================================================================
M release/scripts/startup/bl_ui/space_filebrowser.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 9d903829bbb..a85dd591b2f 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -56,6 +56,8 @@ class FILEBROWSER_HT_header(Header):
layout.separator_spacer()
+ layout.template_running_jobs()
+
if params:
layout.prop(params, "use_filter", text="", icon='FILTER')
@@ -86,8 +88,6 @@ class FILEBROWSER_HT_header(Header):
row.separator()
row.prop(params, "filter_search", text="", icon='VIEWZOOM')
- layout.template_running_jobs()
-
class FILEBROWSER_UL_dir(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
More information about the Bf-blender-cvs
mailing list