Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the invalid values that do not exist for m_Collapsed #2248

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

okrc
Copy link
Contributor

@okrc okrc commented Sep 19, 2022

This should be the last change, it will clean up the invalid values that do not exist in m_Groups for m_Collapsed.

@isaak654 isaak654 changed the title Update SbieView.cpp Clean up the invalid values that do not exist in m_Groups for m_Collapsed Sep 19, 2022
@DavidXanatos
Copy link
Member

not only groups can be collapsed but also boxes so the check must check for boxes and groups

@isaak654 isaak654 changed the title Clean up the invalid values that do not exist in m_Groups for m_Collapsed Clean up the invalid values that do not exist for m_Collapsed Sep 19, 2022
@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

It occurred to me that the QStringList stored in m_Group contains the names of the group and the box. By eliminating the non-existent values from m_Collapsed in m_Group, the check is done for both the box and the group. Am I missing anything else?

@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

In fact, another omission here is used to clean up invalid Box names in m_Group.

@okrc okrc marked this pull request as draft September 20, 2022 01:40
Clean up the invalid Box names in BoxDisplayOrder.
@okrc okrc marked this pull request as ready for review September 20, 2022 04:12
@DavidXanatos DavidXanatos merged commit 610fa26 into sandboxie-plus:master Sep 21, 2022
@okrc okrc deleted the okrc-patch-1 branch September 21, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants