fix [#36835] Removing an addon has strange behavior
[blender.git] / release / scripts / startup / bl_operators / wm.py
index c1a98b07cbc1a95ad07d765a13a84aa0cd2dc8ab..5d448f20c4c99cd0355146988a187427511474cd 100644 (file)
@@ -1937,6 +1937,8 @@ class WM_OT_addon_remove(Operator):
         else:
             os.remove(path)
 
+        addon_utils.modules_refresh()
+
         context.area.tag_redraw()
         return {'FINISHED'}