Fix T75219: Move to New Layer not working

This was an old design problem.
This commit is contained in:
Antonio Vazquez
2020-03-31 18:54:41 +02:00
parent 6c036a65c9
commit 5b88ab25bd
2 changed files with 10 additions and 3 deletions

View File

@@ -332,7 +332,7 @@ class GPENCIL_MT_move_to_layer(Menu):
layout.separator()
layout.operator("gpencil.layer_add", text="New Layer", icon='ADD')
layout.operator("gpencil.move_to_layer", text="New Layer", icon='ADD').layer = -1
class GPENCIL_MT_layer_active(Menu):