Auto select custom property value field when pop up, user can start typing to change value right away.
This commit is contained in:
parent
a65edb4caa
commit
8fb19e5843
3 changed files with 59 additions and 1 deletions
|
|
@ -748,6 +748,11 @@ bool LineEdit::is_secret() const {
|
|||
|
||||
void LineEdit::select(int p_from, int p_to) {
|
||||
|
||||
if (p_from==0 && p_to==0) {
|
||||
selection_clear();
|
||||
return;
|
||||
}
|
||||
|
||||
int len = text.length();
|
||||
if (p_from<0)
|
||||
p_from=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue