From 110236f7617cb0b909aa0444f657344497cdaf41 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sun, 18 Jul 2021 01:04:27 +0200 Subject: Fix crash in EditorSpinSlider --- editor/editor_spin_slider.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'editor/editor_spin_slider.cpp') diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index 247eaab9f8..436d67b882 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -389,6 +389,11 @@ void EditorSpinSlider::_notification(int p_what) { } } +LineEdit *EditorSpinSlider::get_line_edit() { + _ensure_input_popup(); + return value_input; +} + Size2 EditorSpinSlider::get_minimum_size() const { Ref sb = get_theme_stylebox("normal", "LineEdit"); Ref font = get_theme_font("font", "LineEdit"); -- cgit v1.2.3