diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-24 07:51:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-24 08:00:12 +0300 |
commit | d295261330d58708c70531b4cd6509e2bea0dd64 (patch) | |
tree | 7c3dd91aa385449be19616007eaa9422bbcbaf1f /release | |
parent | be8f2c698e4c1f5395add19032b7e0e077af9e11 (diff) |
Text: add replace all operator
D8032 by @Poulpator with minor edits
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 553d79fb349..4f518d8e2d4 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -174,7 +174,10 @@ class TEXT_PT_find(Panel): row = col.row(align=True) row.prop(st, "replace_text", icon='DECORATE_OVERRIDE', text="") row.operator("text.replace_set_selected", text="", icon='EYEDROPPER') - col.operator("text.replace") + + row = col.row(align=True) + row.operator("text.replace") + row.operator("text.replace", text = "Replace all").all = True layout.separator() |