Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July)

This commit is contained in:
2012-12-22 05:04:30 +00:00
parent 2a5cabb039
commit 8062bcd16f

View File

@@ -66,6 +66,7 @@ class TEXT_HT_header(Header):
row.operator("text.run_script")
row = layout.row()
row.active = text.name.endswith(".py")
row.prop(text, "use_module")
row = layout.row()