You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix issue with disconnecting events when font changes
This commit is contained in:
@@ -2286,7 +2286,7 @@ void Control::set_theme(const Ref<Theme> &p_theme) {
|
||||
}
|
||||
|
||||
if (data.theme.is_valid()) {
|
||||
data.theme->connect("changed", this, "_theme_changed");
|
||||
data.theme->connect("changed", this, "_theme_changed", varray(), CONNECT_DEFERRED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user