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

Made it easier to display info and/or confirmation boxes #1035

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

veloman-yunkan
Copy link
Collaborator

During refactoring-based-study of kiwix-desktop code in the context of the work on fixing download management (issues #87 and #1022) I made KiwixConfirmBox easier and more fool-proof to use and decided to extract those changes into a separate small PR.

Note that showConfirmBox() lacks a parameter for the "no" action because of the absence of the need for it in the current code. However, would such a need arise in the future, adding support for it should be trivial.

@kelson42 kelson42 added this to the 2.4.0 milestone Feb 6, 2024
Copy link
Member

@mgautierfr mgautierfr left a comment

Choose a reason for hiding this comment

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

LGTM. I like this kind of PR.

@mgautierfr mgautierfr merged commit 4914bb8 into main Feb 7, 2024
4 checks passed
@mgautierfr mgautierfr deleted the confirmbox_utils branch February 7, 2024 13:41
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.

3 participants