1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 04:07:46 +00:00

Fix password field sometimes being disabled when it shouldn't

This commit is contained in:
Joshua Goins 2023-12-20 21:35:29 -05:00
parent eb2da87add
commit 322885e8e8

View file

@ -206,7 +206,7 @@ QQC2.Control {
id: passwordField
label: LauncherCore.currentProfile.account.isSapphire ? i18n("Password") : i18n("Square Enix Password")
echoMode: TextInput.Password
enabled: LauncherCore.currentProfile.account.needsPassword
enabled: LauncherCore.currentProfile.account.rememberPassword ? LauncherCore.currentProfile.account.needsPassword : true
focus: true
onAccepted: {
if (otpField.visible) {