Fix T62507: Removing Annotation layers removes layers option

Now, when the layer is removed, the Annotation title is removed too to get the same situation when you start using annotations.
This commit is contained in:
Antonio Vazquez 2019-03-12 19:49:46 +01:00
parent 649001e439
commit 6eaaa9c3d3
Notes: blender-bot 2023-02-14 05:51:15 +01:00
Referenced by issue #62507, Removing Annotation layers removes layers option
1 changed files with 1 additions and 1 deletions

View File

@ -148,9 +148,9 @@ class _defs_annotate:
else:
text = ""
layout.label(text="Annotation:")
gpl = context.active_gpencil_layer
if gpl is not None:
layout.label(text="Annotation:")
sub = layout.row(align=True)
sub.ui_units_x = 8