fix [#36835] Removing an addon has strange behavior
authorCampbell Barton <ideasman42@gmail.com>
Mon, 30 Sep 2013 10:02:34 +0000 (10:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 30 Sep 2013 10:02:34 +0000 (10:02 +0000)
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'}