diff options
Diffstat (limited to 'src/core/model/GpgKeyTableProxyModel.cpp')
-rw-r--r-- | src/core/model/GpgKeyTableProxyModel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/model/GpgKeyTableProxyModel.cpp b/src/core/model/GpgKeyTableProxyModel.cpp index aa5cc4b1..aebe06ef 100644 --- a/src/core/model/GpgKeyTableProxyModel.cpp +++ b/src/core/model/GpgKeyTableProxyModel.cpp @@ -169,7 +169,11 @@ void GpgKeyTableProxyModel::slot_update_favorites() { void GpgKeyTableProxyModel::slot_update_column_type( GpgKeyTableColumn filter_columns) { filter_columns_ = filter_columns; +#ifdef QT5_BUILD + invalidateFilter(); +#else invalidateColumnsFilter(); +#endif } } // namespace GpgFrontend
\ No newline at end of file |