operators were copying the properties from the rna operator into the class instance.
[blender.git] / release / scripts / ui / space_console.py
index 2404b3b71c0d728c78c2a088e300e5e9f78d1c4b..8aa4df7b16a2d21292f8d691e48445dc8279556f 100644 (file)
@@ -180,7 +180,7 @@ class ConsoleLanguage(bpy.types.Operator):
         sc = context.space_data
 
         # defailt to python
-        sc.language = self.language
+        sc.language = self.properties.language
 
         bpy.ops.console.banner()