Merge pull request #2747 from MarianoGnu/line_edit
Add <Select All>(Ctrl+A) shortcut to LineEdit. Fixes #1094
This commit is contained in:
commit
ef6fab88be
1 changed files with 3 additions and 0 deletions
|
@ -192,6 +192,9 @@ void LineEdit::_input_event(InputEvent p_event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
case (KEY_A): { //Select All
|
||||||
|
select();
|
||||||
|
} break;
|
||||||
default: { handled=false;}
|
default: { handled=false;}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue