diff options
Diffstat (limited to 'scene/gui/spin_box.cpp')
| -rw-r--r-- | scene/gui/spin_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp index 59f438699..9ac67e92f 100644 --- a/scene/gui/spin_box.cpp +++ b/scene/gui/spin_box.cpp @@ -122,7 +122,7 @@ void SpinBox::_notification(int p_what) { //_value_changed(0); - } else if (p_what==NOTIFICATION_ENTER_SCENE) { + } else if (p_what==NOTIFICATION_ENTER_TREE) { _value_changed(0); } |
