Fix opening import key file picker and button

This commit is contained in:
miruka 2019-08-28 13:13:19 -04:00
parent 3a5d8bff9e
commit b9f593fb27

View File

@ -16,7 +16,7 @@ HBox {
buttonCallbacks: ({
export: button => {},
import: button => { fileDialog.open() },
import: button => { fileDialog.dialog.open() },
})
@ -58,6 +58,6 @@ HBox {
"Please enter the passphrase that was used to protect this file:"
)
onAcceptedPasswordChanged:
encryptionUI.importKeys(file, acceptedPassword, importButton)
encryptionUI.importKeys(file, acceptedPassword)
}
}