diff options
Diffstat (limited to 'doc/python_api/examples/bpy.types.WindowManager.popup_menu.py')
-rw-r--r-- | doc/python_api/examples/bpy.types.WindowManager.popup_menu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py index e6329f677f7..670444b8283 100644 --- a/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py +++ b/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py @@ -8,7 +8,7 @@ import bpy def draw(self, context): - self.layout.label("Hello World") + self.layout.label(text="Hello World") bpy.context.window_manager.popup_menu(draw, title="Greeting", icon='INFO') |