diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2012-12-22 09:04:30 +0400 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2012-12-22 09:04:30 +0400 |
commit | 8062bcd16f9e91d76dbd074f32b889ce2e0cba84 (patch) | |
tree | 16a404841e1d0cba61b4795f77ba0276cd8b6bcb /release/scripts | |
parent | 2a5cabb039faf8a4f39a5dbe0edc0497a4f72b63 (diff) |
Text Editor: Gray out the Register check unless the file has .py extension. (feature lost since July)
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index fa8752c21be..b54fccf45f1 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -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() |