summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.cpp
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2015-11-06 17:24:39 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2015-11-06 19:02:57 -0300
commit7828986b1c8583078038093ae9ab1b77f21ddde4 (patch)
tree9c27e5a3b45b7d19a23235a6d11a98ac4f376999 /scene/gui/line_edit.cpp
parentdde6396f221672d34d178c75f4080c1e87612aea (diff)
Add <Select All>(Ctrl+A) shortcut to LineEdit.
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r--scene/gui/line_edit.cpp3
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;}
}