Commit: 9386559db049d9cc3be0495d4cf550c3b1599f50 Author: Andrew Buttery Date: Mon Jan 13 10:43:15 2014 +0100 https://developer.blender.org/rB9386559db049d9cc3be0495d4cf550c3b1599f50
UI: remove create new directory popup for button in file browser header. We do keep it when typing an new directory name in the directory text field. Reviewed By: brecht, billrey Differential Revision: https://developer.blender.org/D188 =================================================================== 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 256545b..201ac0a 100644 --- a/release/scripts/startup/bl_ui/space_filebrowser.py +++ b/release/scripts/startup/bl_ui/space_filebrowser.py @@ -44,8 +44,10 @@ class FILEBROWSER_HT_header(Header): row.separator() row = layout.row(align=True) + layout.operator_context = "EXEC_DEFAULT" row.operator("file.directory_new", icon='NEWFOLDER') + layout.operator_context = "INVOKE_DEFAULT" params = st.params # can be None when save/reload with a file selector open _______________________________________________ Bf-blender-cvs mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-blender-cvs
