Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-05 06:54:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-05 06:54:27 +0300
commit91fa07dfb18f35783177db47d4c721e5a03aad43 (patch)
treedb8f50d8dbf65a162090164e39c4c843d3fdb906 /release/scripts/startup/bl_ui/space_text.py
parent8b4f00269c91cff040792717122d959392141ad3 (diff)
Text: merge toggle comments into a single operator
This allows users to map comment/un-comment to be mapped to keys.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r--release/scripts/startup/bl_ui/space_text.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index 7a50b690ad8..91984131464 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -291,9 +291,7 @@ class TEXT_MT_format(Menu):
layout.separator()
- layout.operator("text.comment")
- layout.operator("text.uncomment")
- layout.operator("text.toggle_comment")
+ layout.operator("text.comment_toggle")
layout.separator()