Skip to content

Activate focused buttons with Enter - #11

Draft
shytzedaka wants to merge 1 commit into
mainfrom
agent/activate-buttons-with-enter
Draft

Activate focused buttons with Enter#11
shytzedaka wants to merge 1 commit into
mainfrom
agent/activate-buttons-with-enter

Conversation

@shytzedaka

Copy link
Copy Markdown
Member

What changed

  • Handle both Return and numeric-keypad Enter in the shared InstallerButton component.
  • Activate the focused enabled button once per key press.
  • Preserve Qt's existing Space-key behavior and keep disabled buttons inert.

Root cause

Qt's button handling activated these custom installer buttons with Space, but Enter was not mapped to the button's clicked action.

Impact

Every installer action using the shared button component can now be confirmed with Space, Return, or keypad Enter.

Validation

  • git diff --check
  • Verified the handler accepts only Return/Enter, rejects auto-repeat, and checks the enabled state.

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.

1 participant