summaryrefslogtreecommitdiffstats
path: root/src/cppc4group.cpp
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2020-04-24 22:03:13 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2020-04-24 22:03:13 +0200
commit578a2f3725b3ad221442763f450e8e239a5422d0 (patch)
tree61ad666be22b750fdcc78e71fdc01fb6d553ee82 /src/cppc4group.cpp
parent0e367485f950b2ab7b9bd1b6c5e4a9b5d328a5dc (diff)
downloadcc4group-578a2f3725b3ad221442763f450e8e239a5422d0.tar.gz
cc4group-578a2f3725b3ad221442763f450e8e239a5422d0.zip
Treat packed groups like normal subfolders when opening a folder containing packed groups
Diffstat (limited to 'src/cppc4group.cpp')
-rw-r--r--src/cppc4group.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cppc4group.cpp b/src/cppc4group.cpp
index 2c69b98..b76767b 100644
--- a/src/cppc4group.cpp
+++ b/src/cppc4group.cpp
@@ -164,7 +164,11 @@ namespace {
{
result |= cc4group.AllowedEntryTypes.Directory;
}
- // All is handled by the above two
+ if(allowedEntryTypes & CppC4Group::AllowedEntryTypes::HandleGroups)
+ {
+ result |= cc4group.AllowedEntryTypes.HandleGroups;
+ }
+ // All and NoGroupHandling are handled by the above two
return result;
}