Fix opening import key file picker and button
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user