summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-06-28 01:08:24 +0200
committerGitHub <noreply@github.com>2022-06-28 01:08:24 +0200
commitb863c40356b4b95192d1a1e2718db7d7aced4235 (patch)
treef07da843fb5c9a1c034abf526030c7b21f2777f2 /scene/gui
parent8fd0b4d1f84867c6727e2e233ad08b1fed801eb7 (diff)
parent9ddebc0c22866d6b7a7ff3fa64b67cc86c8664da (diff)
Merge pull request #62468 from V-Sekai/core-const-expressions
Add a const call mode to Object, Variant and Script.
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/spin_box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index e50d7e765c..890e349afb 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -62,7 +62,7 @@ void SpinBox::_text_submitted(const String &p_string) {
return;
}
- Variant value = expr->execute(Array(), nullptr, false);
+ Variant value = expr->execute(Array(), nullptr, false, true);
if (value.get_type() != Variant::NIL) {
set_value(value);
}