Fix opening import key file picker and button
This commit is contained in:
parent
3a5d8bff9e
commit
b9f593fb27
|
@ -16,7 +16,7 @@ HBox {
|
||||||
|
|
||||||
buttonCallbacks: ({
|
buttonCallbacks: ({
|
||||||
export: button => {},
|
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:"
|
"Please enter the passphrase that was used to protect this file:"
|
||||||
)
|
)
|
||||||
onAcceptedPasswordChanged:
|
onAcceptedPasswordChanged:
|
||||||
encryptionUI.importKeys(file, acceptedPassword, importButton)
|
encryptionUI.importKeys(file, acceptedPassword)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user