Fix issue with disconnecting events when font changes
This commit is contained in:
parent
48edf63330
commit
2f35cf4946
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue