Browse Source

Add <Select All>(Ctrl+A) shortcut to LineEdit.

MarianoGNU 10 years ago
parent
commit
7828986b1c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      scene/gui/line_edit.cpp

+ 3 - 0
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;}
 				}