diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-01 21:39:40 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-01 21:44:03 +0300 |
commit | 10d7740e010f1c2c15072516a6427977166a60ee (patch) | |
tree | 4318bcd59ad8899167c941562bc54ab5134e128b /release/scripts | |
parent | c2bcde5c285ec731c3f869324455d85c39ff3c75 (diff) |
UI: show messages and progress in topbar when status bar is collapsed.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 1f931529800..05221151b40 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -64,8 +64,14 @@ class TOPBAR_HT_upper_bar(Header): layout = self.layout window = context.window + screen = context.screen scene = window.scene + # If statusbar is hidden, still show messages at the top + if not screen.show_statusbar: + layout.template_reports_banner() + layout.template_running_jobs() + # Active workspace view-layer is retrieved through window, not through workspace. layout.template_ID(window, "scene", new="scene.new", unlink="scene.delete") |