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: Fix NPE in accordion #772

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

jperedadnr
Copy link
Collaborator

Issue

Fixes #771

Using the inspector menu button to select view modes, the accordion panes are removed and added, based on selection. There is an instant where the accordion.getExpandedPane() value is null, and that should be filtered out from the switch expression in InspectorPanelController::expandedSectionChanged

Progress

@jperedadnr jperedadnr merged commit 57991f4 into gluonhq:master Oct 29, 2024
3 checks passed
@jperedadnr jperedadnr deleted the 771-accordionnpe branch October 29, 2024 13:47
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.

NPE: InspectorPanelController.getExpandedSection() is null
3 participants