Skip to content

Commit 844e5e8

Browse files
committed
fixed improper registration on unload
1 parent 4f6fa04 commit 844e5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ def unregister():
236236
bpy.utils.unregister_class(GPT4_OT_Execute)
237237
bpy.utils.unregister_class(GPT4_PT_Panel)
238238
bpy.utils.unregister_class(GPT4_OT_ClearChat)
239-
bpy.utils.register_class(GPT4_OT_ShowCode)
240-
bpy.utils.register_class(GPT4_OT_DeleteMessage)
239+
bpy.utils.unregister_class(GPT4_OT_ShowCode)
240+
bpy.utils.unegister_class(GPT4_OT_DeleteMessage)
241241

242242
bpy.types.VIEW3D_MT_mesh_add.remove(menu_func)
243243
clear_props()

0 commit comments

Comments
 (0)