Browse Source

Merge pull request #3017 from fieldOfView/feature_textfield_select

Select text when gaining focus
ChrisTerBeke 7 years ago
parent
commit
9784faf181
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/Settings/SettingTextField.qml

+ 1 - 0
resources/qml/Settings/SettingTextField.qml

@@ -17,6 +17,7 @@ SettingItem
     {
         textHasChanged = false;
         textBeforeEdit = focusItem.text;
+        focusItem.selectAll();
     }
 
     contents: Rectangle