summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-09-06 14:49:09 +0200
committerYuri Sizov <yuris@humnom.net>2023-09-06 14:49:09 +0200
commit102f42a48dd28ee5de9ad850827f00ef0679549e (patch)
tree79c7ca17ffdc896190eb18de4efd6bb1d7419e74
parent356624ce6d59682fa874487bbad43fe163d4ed42 (diff)
parent7e3a76236983563201fdb358665fd748845ab023 (diff)
downloadredot-engine-102f42a48dd28ee5de9ad850827f00ef0679549e.tar.gz
Merge pull request #81121 from jsjtxietian/fix-crash-in-make_mesh_previews
Fix a crash when enable a tool plugin uses `make_mesh_previews`
-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 639a164952..167a151419 100644
--- a/editor/editor_plugin_settings.cpp
+++ b/editor/editor_plugin_settings.cpp
@@ -245,7 +245,7 @@ EditorPluginSettings::EditorPluginSettings() {
plugin_list->set_column_custom_minimum_width(3, 80 * EDSCALE);
plugin_list->set_column_custom_minimum_width(4, 40 * EDSCALE);
plugin_list->set_hide_root(true);
- plugin_list->connect("item_edited", callable_mp(this, &EditorPluginSettings::_plugin_activity_changed));
+ plugin_list->connect("item_edited", callable_mp(this, &EditorPluginSettings::_plugin_activity_changed), CONNECT_DEFERRED);
VBoxContainer *mc = memnew(VBoxContainer);
mc->add_child(plugin_list);