diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:29:54 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-10-17 10:29:54 -0300 |
commit | ab22203791489df160c36a29a3cd8aa8b32bec04 (patch) | |
tree | b534f9c0f3cc4e71708deebb0107a61f1216f930 /tools/editor/animation_editor.cpp | |
parent | b3cda43a0fb49e1cb9c8414077a23fa4b61ede38 (diff) | |
download | redot-engine-ab22203791489df160c36a29a3cd8aa8b32bec04.tar.gz |
misc cleanup
Diffstat (limited to 'tools/editor/animation_editor.cpp')
-rw-r--r-- | tools/editor/animation_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp index 96bd1ed27d..5df49bd327 100644 --- a/tools/editor/animation_editor.cpp +++ b/tools/editor/animation_editor.cpp @@ -2369,7 +2369,7 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) { te->update(); track_editor->set_tooltip(""); - if (!track_editor->has_focus() && (!get_focus_owner() || !get_focus_owner()->cast_to<LineEdit>())) + if (!track_editor->has_focus() && (!get_focus_owner() || !get_focus_owner()->is_text_field())) track_editor->call_deferred("grab_focus"); |