summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-10-21 23:40:06 +0200
committerkobewi <kobewi4e@gmail.com>2022-11-04 17:24:34 +0100
commit1778301cd008bb791fd27239e0f2659ae640e351 (patch)
tree8eb98e2e6175b5b86b18113f7a4fa4e7181e7474 /scene/gui
parent191c8ed12f624ec97b650b2726fed4e8c4bcf04c (diff)
Add call_deferred() method to Callable
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/option_button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp
index 2cbece69f2..0940b4c07b 100644
--- a/scene/gui/option_button.cpp
+++ b/scene/gui/option_button.cpp
@@ -451,7 +451,7 @@ void OptionButton::_queue_refresh_cache() {
}
cache_refresh_pending = true;
- callable_mp(this, &OptionButton::_refresh_size_cache).call_deferredp(nullptr, 0);
+ callable_mp(this, &OptionButton::_refresh_size_cache).call_deferred();
}
void OptionButton::select(int p_idx) {