diff options
Diffstat (limited to 'src/ui/model/GpgKeyTreeProxyModel.cpp')
-rw-r--r-- | src/ui/model/GpgKeyTreeProxyModel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/model/GpgKeyTreeProxyModel.cpp b/src/ui/model/GpgKeyTreeProxyModel.cpp index e58cee88..2f46f548 100644 --- a/src/ui/model/GpgKeyTreeProxyModel.cpp +++ b/src/ui/model/GpgKeyTreeProxyModel.cpp @@ -125,4 +125,9 @@ void GpgKeyTreeProxyModel::slot_update_favorites_cache() { } } +void GpgKeyTreeProxyModel::SetKeyFilter(const KeyFilter &filter) { + custom_filter_ = filter; + invalidateFilter(); +} + } // namespace GpgFrontend::UI
\ No newline at end of file |