fix [#28172] Cannot restore Add-ons tab in user preferences after a failed attempt...
[blender.git] / release / scripts / startup / bl_ui / space_userpref.py
index e27bd8ef07aa3d4f96d8d3cdbc774b53e7a749eb..e6fd8dcb9498bb7a21f613e757c0d65407934e00 100644 (file)
@@ -949,6 +949,12 @@ class USERPREF_PT_addons(bpy.types.Panel):
                             "(see console for details)",
                             )
 
+        if addon_utils.error_encoding:
+            self.draw_error(col,
+                            "One or more addons do not have UTF-8 encoding\n"
+                            "(see console for details)",
+                            )
+
         filter = context.window_manager.addon_filter
         search = context.window_manager.addon_search.lower()
         support = context.window_manager.addon_support