mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 13:47:51 -06:00
Merge pull request #3017 from fieldOfView/feature_textfield_select
Select text when gaining focus
This commit is contained in:
commit
9784faf181
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ SettingItem
|
||||||
{
|
{
|
||||||
textHasChanged = false;
|
textHasChanged = false;
|
||||||
textBeforeEdit = focusItem.text;
|
textBeforeEdit = focusItem.text;
|
||||||
|
focusItem.selectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
contents: Rectangle
|
contents: Rectangle
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue