autocomplete wasn't working
authorCampbell Barton <ideasman42@gmail.com>
Thu, 23 Jul 2009 12:31:45 +0000 (12:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 23 Jul 2009 12:31:45 +0000 (12:31 +0000)
release/ui/space_console.py

index 0c495ccef8ab88f51256782448dec8349a3542e9..38358e914a76c112eca405176b5977b0b6f75873 100644 (file)
@@ -416,7 +416,7 @@ class CONSOLE_OT_autocomplete(bpy.types.Operator):
                if not console:
                        return ('CANCELLED',)
                
-               if sc.type != 'PYTHON':
+               if sc.console_type != 'PYTHON':
                        return ('CANCELLED',)
                
                # fake cursor, use for autocomp func.