diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 19:57:59 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-06-22 19:57:59 -0300 |
commit | 3f2cd75c6f4c199389ad4d9766b5895be414a5f6 (patch) | |
tree | fb4f8b5aa05a85985dbe8f0ac54728beab934d1f /scene/gui | |
parent | 54815b9ddeeb54595ceef62d84239977477fc0d0 (diff) |
Fix shortcuts, make them visible again and work.
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/input_action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/input_action.cpp b/scene/gui/input_action.cpp index 311cb4ab13..3f80c31c8b 100644 --- a/scene/gui/input_action.cpp +++ b/scene/gui/input_action.cpp @@ -43,7 +43,7 @@ Ref<InputEvent> ShortCut::get_shortcut() const { bool ShortCut::is_shortcut(const Ref<InputEvent> &p_event) const { - return shortcut.is_valid() && shortcut->action_match(p_event); + return shortcut.is_valid() && shortcut->shortcut_match(p_event); } String ShortCut::get_as_text() const { |