summaryrefslogtreecommitdiffstats
path: root/editor/editor_plugin_settings.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-09-09 17:24:40 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2023-09-15 20:15:39 +0200
commit75ee58fd0476360c67375cf403f06644a0aa117e (patch)
treedbfda27d4bcd56ed9dc6362c2e51521059e98788 /editor/editor_plugin_settings.cpp
parent5f1e56ff26be4070496aa51095b9ac2f2b4f4ed8 (diff)
downloadredot-engine-75ee58fd0476360c67375cf403f06644a0aa117e.tar.gz
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
Diffstat (limited to 'editor/editor_plugin_settings.cpp')
-rw-r--r--editor/editor_plugin_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_plugin_settings.cpp b/editor/editor_plugin_settings.cpp
index 167a151419..ef8730cabf 100644
--- a/editor/editor_plugin_settings.cpp
+++ b/editor/editor_plugin_settings.cpp
@@ -137,7 +137,7 @@ void EditorPluginSettings::_plugin_activity_changed() {
}
TreeItem *ti = plugin_list->get_edited();
- ERR_FAIL_COND(!ti);
+ ERR_FAIL_NULL(ti);
bool active = ti->is_checked(3);
String name = ti->get_metadata(0);