summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@allotropia.de>2024-07-17 15:17:32 +0200
committerSarper Akdemir <sarper.akdemir@allotropia.de>2024-07-19 17:11:26 +0200
commit2648907f51e230627f3a5b767b19985231a68412 (patch)
tree20084ab79ff77cb373abee502aae9f3c7096ea0c /sfx2
parentf8c68d3499512a7f559fa990ec8a1648e3a7e5d5 (diff)
make pop-up on Encrypt With GPG Key modal
Not setting any parent window for XDocumentDigitalSignatures causes the key selection window to be non-modal, letting the user keep editing the document without completing the encryption interaction. Change-Id: Ic7e66cb43606355beaffc720b7c23cdf4f81d934 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170630 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index a9a7fb0c65c2..b54d65f7db2b 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1584,7 +1584,9 @@ ErrCode FileDialogHelper_Impl::execute( std::vector<OUString>& rpURLList,
try
{
// ask for keys
- aEncryptionData = ::comphelper::OStorageHelper::CreateGpgPackageEncryptionData();
+ aEncryptionData
+ = ::comphelper::OStorageHelper::CreateGpgPackageEncryptionData(
+ GetFrameInterface());
break; // user cancelled or we've some keys now
}
catch( const IllegalArgumentException& )