diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-01 12:59:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-01 12:59:50 +0300 |
commit | ca0dcd830c5e880b9ea25d4b95a581b2aaeef4e4 (patch) | |
tree | c1c1e1c1e656d66954d65fba00915a1a3700926b /release/scripts | |
parent | 186ac842103f410c663dfab440c9e40038dcea5b (diff) |
Fix T75222: Crash activating menu search
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 40824cbeb52..1e6f03c2b0c 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -208,7 +208,7 @@ class TOPBAR_MT_editor_menus(Menu): layout = self.layout # Allow calling this menu directly (this might not be a header area). - if getattr(context.area, "show_menus"): + if getattr(context.area, "show_menus", False): layout.menu("TOPBAR_MT_app", text="", icon='BLENDER') else: layout.menu("TOPBAR_MT_app", text="Blender") |