summaryrefslogtreecommitdiffstats
path: root/editor/plugins/shader_editor_plugin.cpp
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2018-11-04 18:26:08 +0000
committerPaulb23 <p_batty@hotmail.co.uk>2018-11-04 18:33:16 +0000
commit6c54cb8bff2f1dbdec87f8f057ea36ff7368d93f (patch)
treeff5a22c3c00928cfdc3fec095d6e9de4f9442e52 /editor/plugins/shader_editor_plugin.cpp
parent121cead38e5ea84ec22139df02eee56d822290b7 (diff)
downloadredot-engine-6c54cb8bff2f1dbdec87f8f057ea36ff7368d93f.tar.gz
Fix clone line undo history and extra new line, issue 21811
Diffstat (limited to 'editor/plugins/shader_editor_plugin.cpp')
-rw-r--r--editor/plugins/shader_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp
index 17f93b55a1..638de1b213 100644
--- a/editor/plugins/shader_editor_plugin.cpp
+++ b/editor/plugins/shader_editor_plugin.cpp
@@ -263,7 +263,7 @@ void ShaderEditor::_menu_option(int p_option) {
shader_editor->delete_lines();
} break;
case EDIT_CLONE_DOWN: {
- shader_editor->code_lines_down();
+ shader_editor->clone_lines_down();
} break;
case EDIT_TOGGLE_COMMENT: {