Fix porting issue
textField does not exist here, it's called control. Also QQC2.TextField doesn't have length, we need to check the text.
This commit is contained in:
parent
e002589da1
commit
bc25ad21f0
@ -33,7 +33,7 @@ T.TextField {
|
||||
// this takes into account kiosk restriction
|
||||
readonly property bool __effectiveRevealPasswordButtonShown: revealPasswordButtonShown
|
||||
&& KAuthorized.authorize("lineedit_reveal_password")
|
||||
&& (echoMode == TextInput.Normal || textField.length > 0)
|
||||
&& (echoMode == TextInput.Normal || control.text.length > 0)
|
||||
|
||||
implicitWidth: Math.max((placeholderText ? placeholder.implicitWidth : 0),
|
||||
units.gridUnit * 8,
|
||||
|
Loading…
x
Reference in New Issue
Block a user