Fix blenderkit causing assert

Setting the label for a registered operator isn't supported,
this looks to be test code left in by accident,
it does nothing or asserts in debug mode.
This commit is contained in:
Campbell Barton 2020-06-16 13:07:52 +10:00
parent 8397b98b8c
commit ca6405bac3
1 changed files with 0 additions and 1 deletions

View File

@ -1049,7 +1049,6 @@ class UrlPopupDialog(bpy.types.Operator):
return {'FINISHED'}
def invoke(self, context, event):
self.bl_label = 'ahoj'
wm = context.window_manager
return wm.invoke_props_dialog(self)