Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user