mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user