From adf1f4d77d142018b4db7e65020585e81fd07f64 Mon Sep 17 00:00:00 2001
From: Yang Wang <yang.wang@savoirfairelinux.com>
Date: Tue, 18 Aug 2020 13:25:35 -0400
Subject: [PATCH] misc: modify password dialog

- Make current password text field visible for exporting account mode

Change-Id: I5b323475db8aba5bf96c8e2aef908a72f4f8e7cb
---
 src/commoncomponents/PasswordDialog.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commoncomponents/PasswordDialog.qml b/src/commoncomponents/PasswordDialog.qml
index 28eced610..a47abca11 100644
--- a/src/commoncomponents/PasswordDialog.qml
+++ b/src/commoncomponents/PasswordDialog.qml
@@ -167,7 +167,7 @@ Dialog {
                         Layout.maximumHeight: 30
                         Layout.fillWidth: true
 
-                        visible: purpose === PasswordDialog.ChangePassword
+                        visible: purpose === PasswordDialog.ChangePassword || purpose === PasswordDialog.ExportAccount
                         echoMode: TextInput.Password
                         font.pointSize: 10
                         font.kerning: true
-- 
GitLab