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:
authorMateusz Grzeliński <grzelinskimat@gmail.com>2020-08-14 22:14:11 +0300
committerMateusz Grzeliński <grzelinskimat@gmail.com>2020-08-14 22:14:11 +0300
commit954326c333c459a48804d9865e628ce210fcc691 (patch)
treeddb4b5ad1574f9c4c50ff82fdd98d37682137507 /release
parenta30197ea5aebc75fe379a799676db1400447dca5 (diff)
Clog: add copy operators
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index 9e03a4337ec..a433d558adc 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -159,7 +159,10 @@ class INFO_MT_context_menu(Menu):
layout.operator("info.report_copy", text="Copy")
layout.operator("info.report_delete", text="Delete")
else:
- layout.operator("info.clog_copy", text="Copy Message")
+ layout.operator("info.clog_copy", text="Copy Visible").method = 'COPY_VISIBLE'
+ layout.operator("info.clog_copy", text="Copy Message").method = 'COPY_MESSAGE'
+ layout.operator("info.clog_copy", text="Copy Path").method = 'COPY_PATH'
+ layout.operator("info.clog_copy", text="Copy Basename").method = 'COPY_BASENAME'
layout.operator("info.clog_delete", text="Delete (mockup)")