diff options
author | MarianoGNU <marianognu.easyrpg@gmail.com> | 2015-11-06 17:24:39 -0300 |
---|---|---|
committer | MarianoGNU <marianognu.easyrpg@gmail.com> | 2015-11-06 19:02:57 -0300 |
commit | 7828986b1c8583078038093ae9ab1b77f21ddde4 (patch) | |
tree | 9c27e5a3b45b7d19a23235a6d11a98ac4f376999 /scene/gui/line_edit.cpp | |
parent | dde6396f221672d34d178c75f4080c1e87612aea (diff) |
Add <Select All>(Ctrl+A) shortcut to LineEdit.
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r-- | scene/gui/line_edit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 2b4d7db01e..7e64c0998f 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -192,6 +192,9 @@ void LineEdit::_input_event(InputEvent p_event) { } } break; + case (KEY_A): { //Select All + select(); + } break; default: { handled=false;} } |