diff options
author | saturneric <[email protected]> | 2024-01-24 04:50:42 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-24 04:50:42 +0000 |
commit | 9fa19d9dae8153ae360e666887fbd079620c5022 (patch) | |
tree | 5d1d3cabd54b1fadb0e7dec75b25aa3e446aa8a0 /src/ui/widgets/KeyList.cpp | |
parent | feat: improve key list and find widget (diff) | |
download | GpgFrontend-9fa19d9dae8153ae360e666887fbd079620c5022.tar.gz GpgFrontend-9fa19d9dae8153ae360e666887fbd079620c5022.zip |
fix: solve an issue that switch tab but crypto menu won't update
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index e2152c5a..a9c8e38f 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -429,7 +429,7 @@ void KeyList::SetDoubleClickedAction( this->m_action_ = std::move(action); } -QString KeyList::GetSelectedKey() { +auto KeyList::GetSelectedKey() -> QString { if (ui_->keyGroupTab->size().isEmpty()) return {}; const auto& buffered_keys = m_key_tables_[ui_->keyGroupTab->currentIndex()].buffered_keys_; |