summaryrefslogtreecommitdiffstats
path: root/editor/gui/editor_validation_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/gui/editor_validation_panel.cpp')
-rw-r--r--editor/gui/editor_validation_panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/gui/editor_validation_panel.cpp b/editor/gui/editor_validation_panel.cpp
index c08af1915f..80bb08517c 100644
--- a/editor/gui/editor_validation_panel.cpp
+++ b/editor/gui/editor_validation_panel.cpp
@@ -81,7 +81,7 @@ void EditorValidationPanel::set_update_callback(const Callable &p_callback) {
}
void EditorValidationPanel::update() {
- ERR_FAIL_COND(update_callback.is_null());
+ ERR_FAIL_COND(!update_callback.is_valid());
if (pending_update) {
return;