1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #28766 from pgoral/editor_validation_issue

Changing method signature in other class in not recognized in working…
This commit is contained in:
Rémi Verschelde
2019-06-17 23:13:08 +02:00
committed by GitHub
10 changed files with 25 additions and 1 deletions

View File

@@ -1330,11 +1330,14 @@ void CodeTextEditor::_on_settings_change() {
}
void CodeTextEditor::_text_changed_idle_timeout() {
_validate_script();
emit_signal("validate_script");
}
void CodeTextEditor::validate_script() {
idle->start();
}
void CodeTextEditor::_warning_label_gui_input(const Ref<InputEvent> &p_event) {
Ref<InputEventMouseButton> mb = p_event;
if (mb.is_valid() && mb->is_pressed() && mb->get_button_index() == BUTTON_LEFT) {