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 authored and GitHub committed 2019-06-17 23:13:08 +02:00
commit 0ac3687d6f
10 files changed
+25 -1

No files matched your search

+4 -1
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) {