Skip to content

parallel sets: fix duplicate navbar on parallel tab reopen - #1366

Merged
karlkleinpaste merged 1 commit into
crosswire:masterfrom
LAfricain:parallelset-fix
Aug 9, 2026
Merged

parallel sets: fix duplicate navbar on parallel tab reopen#1366
karlkleinpaste merged 1 commit into
crosswire:masterfrom
LAfricain:parallelset-fix

Conversation

@LAfricain

Copy link
Copy Markdown
Contributor

When the parallel tab was closed and reopened, navbar_parallel.button_sets still pointed to the destroyed widget. On recreation, a second button was added to the new navbar causing a duplicate navigation bar.

Fix: reset navbar_parallel.button_sets to NULL in on_parallel_tab_destroy so it is properly recreated on next open.

When the parallel tab was closed and reopened, navbar_parallel.button_sets
still pointed to the destroyed widget. On recreation, a second button was
added to the new navbar causing a duplicate navigation bar.

Fix: reset navbar_parallel.button_sets to NULL in on_parallel_tab_destroy
so it is properly recreated on next open.
@karlkleinpaste
karlkleinpaste merged commit 7983187 into crosswire:master Aug 9, 2026
7 checks passed
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