mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Fix error label clicking in status bar for shader editor
This commit is contained in:
parent
3f4e39e606
commit
25cb5a42e0
3 changed files with 1 additions and 8 deletions
|
|
@ -1541,7 +1541,7 @@ void CodeTextEditor::_toggle_scripts_pressed() {
|
|||
void CodeTextEditor::_error_pressed(const Ref<InputEvent> &p_event) {
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
if (mb.is_valid() && mb->is_pressed() && mb->get_button_index() == BUTTON_LEFT) {
|
||||
emit_signal("error_pressed");
|
||||
goto_error();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1651,7 +1651,6 @@ void CodeTextEditor::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("validate_script"));
|
||||
ADD_SIGNAL(MethodInfo("load_theme_settings"));
|
||||
ADD_SIGNAL(MethodInfo("show_warnings_panel"));
|
||||
ADD_SIGNAL(MethodInfo("error_pressed"));
|
||||
}
|
||||
|
||||
void CodeTextEditor::set_code_complete_func(CodeTextEditorCodeCompleteFunc p_code_complete_func, void *p_ud) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue