Skip to content

qml: Remove back button after wallet creation#687

Merged
hebasto merged 1 commit into
bitcoin-core:qt6from
pseudoramdom:fix-wallet-back-button
May 7, 2026
Merged

qml: Remove back button after wallet creation#687
hebasto merged 1 commit into
bitcoin-core:qt6from
pseudoramdom:fix-wallet-back-button

Conversation

@pseudoramdom
Copy link
Copy Markdown
Contributor

@pseudoramdom pseudoramdom commented May 6, 2026

Fixes #572

This change adds a small shared navigation policy to PageStack and ties NavigationBar2 into it. PageStack now exposes canGoBack and goBack(),

  • pages can opt out by setting navigationBackEnabled: false
  • NavigationBar2 can now take a navigationStack and render a default Back button based on that stack’s canGoBack, calling goBack() when clicked.

The wallet creation flow now uses this shared behavior instead of hand-rolling Back buttons and back signal.

@pseudoramdom pseudoramdom force-pushed the fix-wallet-back-button branch from 088c37f to 658882b Compare May 6, 2026 18:39
Copy link
Copy Markdown
Collaborator

@johnny9 johnny9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 658882b

@hebasto hebasto merged commit 56163a3 into bitcoin-core:qt6 May 7, 2026
4 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.

Create wallet: remove back navigation after successful creation

3 participants