Skip to content

refactor warning popups + support keybindings#2807

Merged
yohannd1 merged 5 commits intomasterfrom
warning-refactor
Feb 21, 2026
Merged

refactor warning popups + support keybindings#2807
yohannd1 merged 5 commits intomasterfrom
warning-refactor

Conversation

@yohannd1
Copy link
Copy Markdown
Collaborator

The goal here was primarily to add key shortcuts for the options in the warnings. I decided to refactor it so there's now struct FurnaceGUI::WarnChoice, which represents one of the choice buttons in a warning pop-up (text, key, action callback & whether it's destructive).
Only exception to this was for GUI_WARN_CLEAR, which doesn't follow this logic.

Copy link
Copy Markdown
Owner

@tildearrow tildearrow left a comment

Choose a reason for hiding this comment

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

I have no time for development, so I'll merge this after your answer

Comment thread src/gui/gui.cpp Outdated
@yohannd1 yohannd1 merged commit 138e24c into master Feb 21, 2026
5 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