diff options
author | saturneric <[email protected]> | 2024-11-24 19:24:30 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-11-24 19:24:30 +0000 |
commit | 2b777624bdd91230d9cdef8ed48276efa3719fea (patch) | |
tree | 17992a94c3d5ce6e4a25f239332b1c04b7bda5d7 /src/ui/widgets/KeyList.cpp | |
parent | feat: improve info prompt at private key exporting (diff) | |
download | GpgFrontend-2b777624bdd91230d9cdef8ed48276efa3719fea.tar.gz GpgFrontend-2b777624bdd91230d9cdef8ed48276efa3719fea.zip |
fix: solve key list drag and drop refreshing issue
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 895b6b01..73328885 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -520,8 +520,11 @@ void KeyList::dragEnterEvent(QDragEnterEvent* event) { } void KeyList::import_keys(const QByteArray& in_buffer) { + LOG_D() << "importing keys to channel:" << current_gpg_context_channel_; auto result = GpgKeyImportExporter::GetInstance(current_gpg_context_channel_) .ImportKey(GFBuffer(in_buffer)); + emit SignalRefreshDatabase(); + (new KeyImportDetailDialog(current_gpg_context_channel_, result, this)); } |