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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-17 18:32:36 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-17 21:16:19 +0300
commita069d3dc8cc48dcd55e5eff3d002fb06d99dc123 (patch)
tree3afedad8416b29e790b9f118739f09f2a834a91c /release/scripts/startup
parent7f9a1d2f3be4ebbe63ea498d0e24591610c115b3 (diff)
UI: save statusbar/topbar collapsed state per screen.
This can now also be set from the Window menu in addition to dragging.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index a417ef856f9..881d3db8a4c 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -504,6 +504,11 @@ class INFO_MT_window(Menu):
layout.separator()
+ layout.prop(context.screen, "show_topbar")
+ layout.prop(context.screen, "show_statusbar")
+
+ layout.separator()
+
layout.operator("screen.screenshot")
if sys.platform[:3] == "win":