diff --git a/src/gui/Base/HTextArea.qml b/src/gui/Base/HTextArea.qml index 54b804cb..4583b23d 100644 --- a/src/gui/Base/HTextArea.qml +++ b/src/gui/Base/HTextArea.qml @@ -64,6 +64,7 @@ TextArea { text: defaultText || "" opacity: enabled ? 1 : theme.disabledElementsOpacity selectByMouse: true + activeFocusOnPress: ! readOnly leftPadding: theme.spacing rightPadding: leftPadding topPadding: theme.spacing / 1.5 diff --git a/src/gui/Base/HTextField.qml b/src/gui/Base/HTextField.qml index 459e67a0..b1762705 100644 --- a/src/gui/Base/HTextField.qml +++ b/src/gui/Base/HTextField.qml @@ -52,6 +52,7 @@ TextField { text: defaultText || "" opacity: enabled ? 1 : theme.disabledElementsOpacity selectByMouse: true + activeFocusOnPress: ! readOnly leftPadding: theme.spacing rightPadding: leftPadding topPadding: theme.spacing / 1.5