diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-11-18 18:55:59 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-11-18 18:55:59 -0300 |
commit | ef6fab88be8e5fef600cf5700c04879eeb4524e0 (patch) | |
tree | bf4273513065b536a394325f47884059c122c5d6 | |
parent | 9827c3cd26e4df8d382b1d41322eed6548a6453f (diff) | |
parent | 7828986b1c8583078038093ae9ab1b77f21ddde4 (diff) |
Merge pull request #2747 from MarianoGnu/line_edit
Add <Select All>(Ctrl+A) shortcut to LineEdit. Fixes #1094
-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;} } |