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

Fix prefs category loading. #352

Merged
merged 1 commit into from
Jan 17, 2015
Merged

Fix prefs category loading. #352

merged 1 commit into from
Jan 17, 2015

Conversation

csmith
Copy link
Member

@csmith csmith commented Jan 17, 2015

When loading a category, don't also create UI for the subcategories.
This is weird and doesn't make sense, and is also the reason we
needed the hacky NoRemovePanel.

Previously, we added a category, then created a new panel for
each of its subcategories. When you clicked on the subcat
we made it again with a new panel, and the component ended
up on both (because it couldn't be removed from the old one).

When loading a category, don't also create UI for the subcategories.
This is weird and doesn't make sense, and is also the reason we
needed the hacky NoRemovePanel.

Previously, we added a category, then created a new panel for
each of its subcategories. When you clicked on the subcat
we made it again with a new panel, and the component ended
up on both (because it couldn't be removed from the old one).
greboid added a commit that referenced this pull request Jan 17, 2015
Fix prefs category loading.
@greboid greboid merged commit 2c852d8 into DMDirc:master Jan 17, 2015
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