summaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-07 20:02:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-07 20:02:54 -0300
commitc99813dc38cc79b37529cdd98dc2bc2c3ff69edc (patch)
tree99ea11d3829bf296ea23941a83ebc61158028087 /tools/editor/animation_editor.cpp
parent7156aff16041ea56ff1f3aea2a622c130bcca7a9 (diff)
parentac9263c680076eed36887a681cb59fdcce6c6f73 (diff)
Merge pull request #1826 from eehrich/master
Reviewed compiler warnings: fixed some bugs and formal stuff. (2nd try)
Diffstat (limited to 'tools/editor/animation_editor.cpp')
-rw-r--r--tools/editor/animation_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp
index 39eec4e69b..63ab186a38 100644
--- a/tools/editor/animation_editor.cpp
+++ b/tools/editor/animation_editor.cpp
@@ -1375,7 +1375,7 @@ void AnimationKeyEditor::_track_editor_input_event(const InputEvent& p_input) {
if (p_input.is_action("ui_up"))
selected_track--;
if (v_scroll->is_visible() && p_input.is_action("ui_page_up"))
- selected_track--;;
+ selected_track--;
if (selected_track<0)
selected_track=0;