diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-06-24 08:24:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-24 08:24:40 +0200 |
commit | 6ad814bf7b4668399bf9487d38e8924c6faeb4bf (patch) | |
tree | a37d58085e32f2b96d3bfb6117c9620aaf3cbd49 /editor/plugins/script_text_editor.cpp | |
parent | 7d60a88888afa3d62ea66fb6339547d65e2031d1 (diff) | |
parent | 25cb5a42e01ff8e5f0eb1f105559606cc9fd3844 (diff) | |
download | redot-engine-6ad814bf7b4668399bf9487d38e8924c6faeb4bf.tar.gz |
Merge pull request #39775 from Chaosus/fix_error_label
Fix error label clicking in status bar for shader editor
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 4b79d8c344..1c9dadc0dd 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -383,10 +383,6 @@ void ScriptTextEditor::_show_warnings_panel(bool p_show) { warnings_panel->set_visible(p_show); } -void ScriptTextEditor::_error_pressed() { - code_editor->goto_error(); -} - void ScriptTextEditor::_warning_clicked(Variant p_line) { if (p_line.get_type() == Variant::INT) { code_editor->get_text_edit()->cursor_set_line(p_line.operator int64_t()); @@ -1759,7 +1755,6 @@ ScriptTextEditor::ScriptTextEditor() { warnings_panel->set_focus_mode(FOCUS_CLICK); warnings_panel->hide(); - code_editor->connect("error_pressed", callable_mp(this, &ScriptTextEditor::_error_pressed)); code_editor->connect("show_warnings_panel", callable_mp(this, &ScriptTextEditor::_show_warnings_panel)); warnings_panel->connect("meta_clicked", callable_mp(this, &ScriptTextEditor::_warning_clicked)); |