diff options
author | saturneric <[email protected]> | 2024-06-28 21:31:45 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-06-28 21:31:45 +0000 |
commit | 2c42d6cb727001422c68a86f1cb4221a32892a59 (patch) | |
tree | 2de17f5e8ed07cd299567b3e814c0057264f9e48 /src/core/model/GpgKeyTableProxyModel.cpp | |
parent | refactor: rewrite KeyMenuAbility (diff) | |
download | GpgFrontend-2c42d6cb727001422c68a86f1cb4221a32892a59.tar.gz GpgFrontend-2c42d6cb727001422c68a86f1cb4221a32892a59.zip |
feat: enable sorting and add column "comment" at key table
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 0ecd000f..5ed9ade3 100644 --- a/src/core/model/GpgKeyTableProxyModel.cpp +++ b/src/core/model/GpgKeyTableProxyModel.cpp @@ -134,6 +134,10 @@ auto GpgKeyTableProxyModel::filterAcceptsColumn( return (filter_columns_ & GpgKeyTableColumn::kSUBKEYS_NUMBER) != GpgKeyTableColumn::kNONE; } + case 10: { + return (filter_columns_ & GpgKeyTableColumn::kCOMMENT) != + GpgKeyTableColumn::kNONE; + } default: return false; } |