On master (a6f6333ba253cda83221ee529810cacf930e413f) and on 0.19.0.1 the intro dialog with prune enabled (checkbox “Discard blocks…” is checked) provides a user with wrong info about the required disk space:
Also the paragraph “If you have chosen to limit…” is missed.
With this PR when prune checkbox is toggled, the related text labels and the amount of required space shown are updated (previously they were only updated when the data directory was updated):
This PR is an alternative to #17035.
ryanofsky’s suggestion also has been implemented.