diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/controls/TextField.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index 3d31162c4..a7aa67eb7 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -619,7 +619,7 @@ Control { font: textInput.font horizontalAlignment: textInput.horizontalAlignment verticalAlignment: textInput.verticalAlignment - opacity: !textInput.text.length && !textInput.inputMethodComposing ? 1 : 0 + opacity: textInput.displayText.length ? 0.0 : 1.0 color: __panel ? __panel.placeholderTextColor : "darkgray" clip: contentWidth > width; elide: Text.ElideRight |
