summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-18 18:55:59 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-18 18:55:59 -0300
commitef6fab88be8e5fef600cf5700c04879eeb4524e0 (patch)
treebf4273513065b536a394325f47884059c122c5d6 /scene/gui
parent9827c3cd26e4df8d382b1d41322eed6548a6453f (diff)
parent7828986b1c8583078038093ae9ab1b77f21ddde4 (diff)
Merge pull request #2747 from MarianoGnu/line_edit
Add <Select All>(Ctrl+A) shortcut to LineEdit. Fixes #1094
Diffstat (limited to 'scene/gui')
-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;}
}