fix: rendering an amp characters in the wallet name for QMenu #30446

pull knst wants to merge 1 commits into bitcoin:master from knst:fix-qt-wallet-underscore changing 1 files +1 −4
  1. knst commented at 6:24 AM on July 13, 2024: contributor

    In the current implementation Qt uses '&' as a signal to underscore letter and use it as a hot-key, which is not expected for case of wallet name.

    The comment in the code is misleading, if you replace one & to double &&, the next & will be a "single one". All of them in the string should be replaced, not only the first occurrence.

    See screenshots before & after: Screenshot_20240713_122454 Screenshot_20240713_131304

  2. fix: correct replacement of amp character in the wallet name for QMenu
    The comment is missleading. If wallet name has & it is not supposed to use
    as a hot-key, but should be shown as it is without replacing to underscore
    948520b72d
  3. DrahtBot commented at 6:24 AM on July 13, 2024: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  4. knst renamed this:
    fix: correct replacement of amp character in the wallet name for QMenu
    fix: rendering an amp characters in the wallet name for QMenu
    on Jul 13, 2024
  5. 0xB10C commented at 11:37 AM on July 13, 2024: contributor

    Thanks for the contribution knst. I think this PR might be better suited for https://github.com/bitcoin-core/gui. The gui repo is regularly synced with the bitcoin/bitcoin repo.

  6. hebasto commented at 11:47 AM on July 13, 2024: member

    Thanks for the contribution knst. I think this PR might be better suited for https://github.com/bitcoin-core/gui. The gui repo is regularly synced with the bitcoin/bitcoin repo.

    Yes. @knst please close this PR and open it in https://github.com/bitcoin-core/gui.

  7. hebasto added the label GUI on Jul 13, 2024
  8. knst commented at 12:32 PM on July 13, 2024: contributor

    closed as moved to bitcoin-core/gui: https://github.com/bitcoin-core/gui/pull/828

  9. knst closed this on Jul 13, 2024

  10. knst deleted the branch on Jul 13, 2024
  11. bitcoin locked this on Jul 13, 2025
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me