Fix T66300: GPencil layer context menu not working in topbar layer popover

This commit is contained in:
Antonioya 2019-07-01 13:24:27 +02:00
parent 76aff66301
commit e1cb15c5d6

@ -81,7 +81,8 @@ class GPENCIL_MT_layer_context_menu(Menu):
def draw(self, context):
layout = self.layout
gpd = context.gpencil
ob = context.object
gpd = ob.data
layout.operator("gpencil.layer_duplicate", icon='ADD') # XXX: needs a dedicated icon