diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_node.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py index e5470441ab1..4662de8b4ac 100644 --- a/release/scripts/startup/bl_ui/space_node.py +++ b/release/scripts/startup/bl_ui/space_node.py @@ -245,8 +245,10 @@ class NODE_MT_view(Menu): layout.separator() - layout.operator("view2d.zoom_in") - layout.operator("view2d.zoom_out") + sub = layout.column() + sub.operator_context = 'EXEC_REGION_WIN' + sub.operator("view2d.zoom_in") + sub.operator("view2d.zoom_out") layout.separator() |