Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
4a3dcec0
Commit
4a3dcec0
authored
Jul 19, 2022
by
Ingo Klöcker
Browse files
Do not export anything if the user canceled the operation
GnuPG-bug-id: 6090
parent
efed6dd3
Pipeline
#206737
passed with stage
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/commands/exportsecretkeycommand.cpp
View file @
4a3dcec0
...
...
@@ -241,6 +241,11 @@ std::unique_ptr<QGpgME::ExportJob> ExportSecretKeyCommand::Private::startExportJ
void
ExportSecretKeyCommand
::
Private
::
onExportJobResult
(
const
Error
&
err
,
const
QByteArray
&
keyData
)
{
if
(
err
.
isCanceled
())
{
finished
();
return
;
}
if
(
err
)
{
showError
(
err
);
finished
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment