Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Gui: Make 'Abort' the default modal box button #223
There is a modal dialog box that prompts users to reindex the blockchain in the event of a change to the
Since accidentally aborting is preferable to accidentally starting a non-cancelable and time-consuming rescan operation, this change will make the 'Abort' button the default dialog box button if it is present.
This change will affect all dialog boxes created using the
From a UI design perspective I'd say that the problem you hit is due to the fact that an ok/abort type dialog is not really the most appropriate solution.
One reason is that there are 3 ways to continue, I'd argue that the "ok" should not be the most costly one.
Either way, I like your solution, thanks for the PR!