diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-05 05:47:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-05 05:47:55 +0300 |
commit | cd02fe5d70506539800c50544dc75a9ae1c72b9d (patch) | |
tree | 715767cb0a85dcc624518d4f7fc43818316c57de /release/scripts/startup/bl_ui/space_topbar.py | |
parent | f69ea92599aaf032276cc519f8bccd0a66ac30a5 (diff) |
Cleanup: remove underscore prefix for used vars
Also remove unused vars.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index a3382908ea1..f735e7b770f 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -154,10 +154,10 @@ class TOPBAR_MT_editor_menus(Menu): bl_idname = "TOPBAR_MT_editor_menus" bl_label = "" - def draw(self, _context): + def draw(self, context): layout = self.layout - if _context.area.show_menus: + if context.area.show_menus: layout.menu("TOPBAR_MT_app", text="", icon='BLENDER') else: layout.menu("TOPBAR_MT_app", text="Blender") |