ソースを参照

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

MarianoGNU 10 年 前
コミット
7828986b1c
1 ファイル変更3 行追加0 行削除
  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;}
 				}