UI: correct typo

Also odd parenthesis.
This commit is contained in:
2019-03-12 08:08:48 +11:00
parent d7e7e9af02
commit 8add03c3b9

View File

@@ -1284,13 +1284,13 @@ class IMAGE_PT_uv_cursor(Panel):
bl_space_type = 'IMAGE_EDITOR'
bl_region_type = 'UI'
bl_category = "Image"
bl_label = "3D Cursor"
bl_label = "2D Cursor"
@classmethod
def poll(cls, context):
sima = context.space_data
return (sima and (sima.show_uvedit) or (sima.show_maskedit))
return (sima and (sima.show_uvedit or sima.show_maskedit))
def draw(self, context):
layout = self.layout