mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July)
This commit is contained in:
parent
2a5cabb039
commit
8062bcd16f
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue