diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-20 16:37:19 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-20 17:23:22 +0300 |
commit | 6cd3a67e36b6eb120ce4aad7267107674bc1b23c (patch) | |
tree | c6dc1237935d11c2e484a09dbf78710001ca3362 /release | |
parent | 444934632a8d8e239bc0c6d79a638ec0943152a6 (diff) |
Workspaces: remove separate workspaces.blend config file.
This is quite confusing in the current UI, with both startup.blend and
workspaces.blend containing a list of workspaces. In practice you'd usually
want to save workspaces to both files.
The downside of having a single file may be that you then can't disable
certain workspaces by default, but we could add a setting for that.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index e8fdfc71ae8..ddcc19a3781 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -44,9 +44,7 @@ class USERPREF_HT_header(Header): layout.operator_context = 'INVOKE_DEFAULT' - if userpref.active_section == 'INTERFACE': - layout.operator("wm.save_workspace_file") - elif userpref.active_section == 'INPUT': + if userpref.active_section == 'INPUT': layout.operator("wm.keyconfig_import") layout.operator("wm.keyconfig_export") elif userpref.active_section == 'ADDONS': |